diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42dcd45..92ca0f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/Dockerfile b/Dockerfile index 8c86b7a..977d72f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/