From abbea2dd5c5802d41c4b6d88c355c64e10207278 Mon Sep 17 00:00:00 2001 From: Brendon Smith Date: Mon, 27 May 2024 16:21:57 -0400 Subject: [PATCH] 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 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 72e1d22c..d99c0112 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM python:3.12-slim LABEL "maintainer" "Sviatoslav Sydorenko " LABEL "repository" "https://github.com/pypa/gh-action-pypi-publish" LABEL "homepage" "https://github.com/pypa/gh-action-pypi-publish" +LABEL "org.opencontainers.image.source" "https://github.com/pypa/gh-action-pypi-publish" ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1