Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/docs/build-and-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand All @@ -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
9 changes: 9 additions & 0 deletions docker-push/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading