Skip to content

Commit 1a6b87f

Browse files
ci: ensure we log into docker.io
Signed-off-by: Patrick Stephens <pat@fluent.do>
1 parent 823fab8 commit 1a6b87f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/call-build-containers.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
# - name: Set up Docker Buildx
7070
# uses: docker/setup-buildx-action@v3
7171

72+
- name: Log in to docker.io for authorised pulls
73+
uses: docker/login-action@v3
74+
with:
75+
username: ${{ vars.DOCKERHUB_USERNAME }}
76+
password: ${{ secrets.DOCKERHUB_TOKEN }}
77+
7278
- name: Log in to the Container registry
7379
uses: docker/login-action@v3
7480
with:

.github/workflows/call-build-linux-packages.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
replace-with: "$1-$2"
5252
flags: "g"
5353

54+
- name: Log in to docker.io for authorised pulls
55+
uses: docker/login-action@v3
56+
with:
57+
username: ${{ vars.DOCKERHUB_USERNAME }}
58+
password: ${{ secrets.DOCKERHUB_TOKEN }}
59+
5460
- name: Log in to the GHCR registry
5561
uses: docker/login-action@v3
5662
with:

0 commit comments

Comments
 (0)