From 697c83f287941ef107d9c20483b7791cdf25d6b0 Mon Sep 17 00:00:00 2001 From: Graham Beckley Date: Thu, 5 Mar 2026 10:40:04 -0500 Subject: [PATCH] chore(docs): add note about visibility of GHCR images --- .github/workflows/docs/build-and-push.md | 6 ++++++ docker-push/README.md | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/docs/build-and-push.md b/.github/workflows/docs/build-and-push.md index f9b9a93..3a82542 100644 --- a/.github/workflows/docs/build-and-push.md +++ b/.github/workflows/docs/build-and-push.md @@ -137,6 +137,10 @@ jobs: should_tag_ghcr: true ``` +**Note**: GHCR images are private by default. Depending on which GitHub organization your +repository belongs to, you may need to [file a bug][ghcr-visibility-bug] to allow making +published GHCR images publicly accessible (see [example][ghcr-visibility-example]). + ## Troubleshooting Is your build failing? The "[How to: Publish Container Images to GAR][how-to]" @@ -145,3 +149,5 @@ wiki page may include some answers, specifically around permissions issues. [`docker-build`]: ../../../docker-build/README.md [`docker-push`]: ../../../docker-push/README.md [how-to]: https://mozilla-hub.atlassian.net/wiki/spaces/SRE/pages/997163545/How+to+Publish+Container+Images+to+GAR +[ghcr-visibility-bug]: https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration +[ghcr-visibility-example]: https://bugzilla.mozilla.org/show_bug.cgi?id=2009036 diff --git a/docker-push/README.md b/docker-push/README.md index dcabb52..ae5e459 100644 --- a/docker-push/README.md +++ b/docker-push/README.md @@ -33,6 +33,15 @@ This value should be available as the repository variable `vars.GCPV2_WORKLOAD_I [1]: https://cloud.google.com/artifact-registry/docs/docker/pushing-and-pulling#tag [2]: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#pushing-container-images +### GHCR Image Visibility + +GHCR images are private by default. Depending on which GitHub organization your repository +belongs to, you may need to [file a bug][ghcr-visibility-bug] to allow making published GHCR +images publicly accessible (see [example][ghcr-visibility-example]). + +[ghcr-visibility-bug]: https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration +[ghcr-visibility-example]: https://bugzilla.mozilla.org/show_bug.cgi?id=2009036 + ## Example Usage ```yaml