Skip to content

Commit 5220cbd

Browse files
committed
Move docker login to test workflows (whoops)
Signed-off-by: Martijn Stevenson <[email protected]>
1 parent 1dfe977 commit 5220cbd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ jobs:
4646
steps:
4747
- uses: actions/checkout@v2
4848

49-
# Needed for s390x test which runs on a GHCR Docker Ubuntu image.
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-
5749
- name: Bazel cache
5850
uses: PiotrSikora/[email protected]
5951
with:
@@ -287,6 +279,14 @@ jobs:
287279
steps:
288280
- uses: actions/checkout@v2
289281

282+
# Needed for s390x test which runs on a GHCR Docker Ubuntu image.
283+
- name: Login to GitHub Container Registry
284+
uses: docker/login-action@v3
285+
with:
286+
registry: ghcr.io
287+
username: ${{ github.actor }}
288+
password: ${{ secrets.GITHUB_TOKEN }}
289+
290290
- name: Install dependencies (Linux)
291291
if: ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }}
292292
run: sudo apt update -y && sudo apt install -y ${{ matrix.deps }}

0 commit comments

Comments
 (0)