Skip to content

Commit 1b3b149

Browse files
authored
Add org.opencontainers.image.source metadata LABEL (#364)
So that the images published to the GitHub Container Registry are associated with this GitHub repo - so show up under a "Packages" tab on this repo, rather than only under the generic "Packages" view for the org: https://github.com/orgs/buildpacks/packages See: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package#connecting-a-repository-to-a-container-image-using-the-command-line Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
1 parent e7822a0 commit 1b3b149

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ RUN go build \
1616
RUN strip /bin/action
1717

1818
FROM scratch
19+
LABEL org.opencontainers.image.source=https://github.com/buildpacks/github-actions
1920
COPY --from=build-stage /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2021
COPY --from=build-stage /bin/action /bin/action
2122
ENTRYPOINT ["/bin/action"]

0 commit comments

Comments
 (0)