Add opencontainers source label
This commit is contained in:
parent
02857c24f9
commit
f777dd8f0d
|
@ -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:
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue