Skip to content

Commit 52c6210

Browse files
committed
login to docker first
1 parent 393e71d commit 52c6210

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-cli.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
runs-on: self-hosted
2222
steps:
2323
- uses: actions/checkout@v4
24-
- name: Configure QEMU
25-
uses: docker/setup-qemu-action@v3
2624
- name: Login to Docker Hub
2725
uses: docker/login-action@v3
2826
with:
2927
username: ${{ secrets.HUB_USERNAME }}
3028
password: ${{ secrets.HUB_PASSWORD }}
29+
- name: Configure QEMU
30+
uses: docker/setup-qemu-action@v3
3131
- name: Configure docker
3232
uses: docker/setup-buildx-action@v3
3333
with:
@@ -50,10 +50,6 @@ jobs:
5050
runs-on: self-hosted
5151
steps:
5252
- uses: actions/checkout@v4
53-
- name: Configure QEMU
54-
uses: docker/setup-qemu-action@v3
55-
- name: Configure docker
56-
uses: docker/setup-buildx-action@v3
5753
- name: Login to Docker Hub
5854
uses: docker/login-action@v3
5955
with:
@@ -65,6 +61,10 @@ jobs:
6561
registry: ghcr.io
6662
username: ${{ github.actor }}
6763
password: ${{ secrets.GITHUB_TOKEN }}
64+
- name: Configure QEMU
65+
uses: docker/setup-qemu-action@v3
66+
- name: Configure docker
67+
uses: docker/setup-buildx-action@v3
6868
- name: Calculate version
6969
run: |
7070
if [ "${GITHUB_REF_TYPE}" == "tag" ]; then

0 commit comments

Comments
 (0)