Skip to content

Commit eb33f84

Browse files
docs(multiple): add warning about push to GAR failure (#1555)
* docs(multiple): add warning about push to GAR failure * prettier * Clarify Google Artifact Registry push error message Updated warning about Google Artifact Registry bug for clarity. * Update warning about Workload Identity Federation bug
1 parent 776d57f commit eb33f84

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

actions/docker-build-push-image/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ This can push to the following registries:
1515
1. Google Artifact Registry
1616
2. DockerHub
1717

18+
> [!WARNING]
19+
> There is a [bug with Google Artifact Registry](https://issuetracker.google.com/issues/390719013?pli=1) that prevents docker images from pushing successfully if the
20+
> branch name is too long. This is due a max length with Workload Identity Federation claims on Google's side.
21+
>
22+
> Should you use this action and get a `400` error when pushing the image... try shortening the branch name.
23+
1824
[docker/build-push-action]: https://github.com/docker/build-push-action
1925
[docker-build-push-image]: ../docker-build-push-image/README.md
2026
[docker-export-digest]: ../docker-export-digest/README.md

actions/login-to-gar/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ This is a composite GitHub Action, used to login to Google Artifact Registry
44
(GAR). It uses [OIDC authentication], which means that only workflows which get
55
triggered based on certain rules can trigger these composite workflows.
66

7+
> [!WARNING]
8+
> There is a [bug with Workload Identity Federation](https://issuetracker.google.com/issues/390719013?pli=1) that prevents docker images from pushing successfully if the
9+
> branch name is too long. This is due a max length with Workload Identity Federation claims on Google's side.
10+
>
11+
> Should you use this action and get a `400` error when pushing the image... try shortening the branch name.
12+
713
<!-- x-release-please-start-version -->
814

915
```yaml

0 commit comments

Comments
 (0)