Add opencontainers source label

This commit is contained in:
stefanprodan 2020-09-02 18:56:34 +03:00
parent 02857c24f9
commit f777dd8f0d
2 changed files with 5 additions and 1 deletions

View File

@ -47,7 +47,9 @@ jobs:
context: .
file: ./Dockerfile
platforms: linux/amd64
tags: ghcr.io/fluxcd/kustomize-controller:${{ steps.get_version.outputs.VERSION }},docker.io/fluxcd/kustomize-controller:${{ steps.get_version.outputs.VERSION }}
tags: |
ghcr.io/fluxcd/kustomize-controller:${{ steps.get_version.outputs.VERSION }}
docker.io/fluxcd/kustomize-controller:${{ steps.get_version.outputs.VERSION }}
- name: Publish arm64 image
uses: docker/build-push-action@v2-build-push
with:

View File

@ -32,6 +32,8 @@ RUN CGO_ENABLED=0 go build -a -o kustomize-controller main.go
FROM alpine:3.12
LABEL org.opencontainers.image.source="https://github.com/fluxcd/kustomize-controller"
RUN apk add --no-cache ca-certificates tini git gnupg
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/