Skip to content

Commit abbea2d

Browse files
br3ndonlandwebknjaz
authored andcommitted
Add Docker label for GHCR
This commit will add the label `org.opencontainers.image.source` to the Dockerfile. This label helps link GitHub Container Registry (GHCR) with the associated repo. https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry https://github.com/pypa/gh-action-pypi-publish/pull/230/files#r1603926630
1 parent 2734d07 commit abbea2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM python:3.12-slim
33
LABEL "maintainer" "Sviatoslav Sydorenko <[email protected]>"
44
LABEL "repository" "https://github.com/pypa/gh-action-pypi-publish"
55
LABEL "homepage" "https://github.com/pypa/gh-action-pypi-publish"
6+
LABEL "org.opencontainers.image.source" "https://github.com/pypa/gh-action-pypi-publish"
67

78
ENV PYTHONDONTWRITEBYTECODE 1
89
ENV PYTHONUNBUFFERED 1

0 commit comments

Comments
 (0)