Skip to content

Commit

Permalink
Merge pull request vmware-tanzu#190 from robinschneider/container-label
Browse files Browse the repository at this point in the history
Add label org.opencontainers.image.source
  • Loading branch information
reasonerjt authored Feb 5, 2024
2 parents 708fcd2 + 74d6208 commit 36915d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN export GOARM=$( echo "${GOARM}" | cut -c2-) && \
CGO_ENABLED=0 go build -v -o /go/bin/velero-plugin-for-aws ./velero-plugin-for-aws && \
CGO_ENABLED=0 go build -v -o /go/bin/cp-plugin ./hack/cp-plugin
FROM scratch
LABEL org.opencontainers.image.source="https://github.com/vmware-tanzu/velero-plugin-for-aws"
COPY --from=build /go/bin/velero-plugin-for-aws /plugins/
COPY --from=build /go/bin/cp-plugin /bin/cp-plugin
USER 65532:65532
Expand Down

0 comments on commit 36915d4

Please sign in to comment.