Skip to content

Commit bac6591

Browse files
authored
Merge pull request #10981 from rabbitmq/mergify/bp/v3.13.x/pr-10961
GitHub Actions: Add GHCR login step to `test-{authnz,selenium}.yaml` workflows (backport #10961)
2 parents 4e4926a + 2107835 commit bac6591

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/oci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
registry: ghcr.io
3131
username: ${{ github.actor }}
32-
password: ${{ secrets.GHCR_TOKEN }}
32+
password: ${{ secrets.GITHUB_TOKEN }}
3333

3434
- name: Set up QEMU
3535
uses: docker/setup-qemu-action@v3

.github/workflows/test-authnz.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
- name: Checkout
4848
uses: actions/checkout@v4
4949

50+
- name: 'Login to GitHub Container Registry'
51+
uses: docker/login-action@v3
52+
with:
53+
registry: ghcr.io
54+
username: ${{ github.actor }}
55+
password: ${{ secrets.GITHUB_TOKEN }}
56+
5057
- name: Configure OTP & Elixir
5158
uses: erlef/[email protected]
5259
with:

.github/workflows/test-selenium.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
- name: Checkout
4545
uses: actions/checkout@v4
4646

47+
- name: 'Login to GitHub Container Registry'
48+
uses: docker/login-action@v3
49+
with:
50+
registry: ghcr.io
51+
username: ${{ github.actor }}
52+
password: ${{ secrets.GITHUB_TOKEN }}
53+
4754
- name: Configure OTP & Elixir
4855
uses: erlef/[email protected]
4956
with:

0 commit comments

Comments
 (0)