Skip to content

Commit

Permalink
login to docker first
Browse files Browse the repository at this point in the history
  • Loading branch information
withinboredom committed Apr 12, 2024
1 parent 393e71d commit 52c6210
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Configure QEMU
uses: docker/setup-qemu-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.HUB_USERNAME }}
password: ${{ secrets.HUB_PASSWORD }}
- name: Configure QEMU
uses: docker/setup-qemu-action@v3
- name: Configure docker
uses: docker/setup-buildx-action@v3
with:
Expand All @@ -50,10 +50,6 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Configure QEMU
uses: docker/setup-qemu-action@v3
- name: Configure docker
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -65,6 +61,10 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Configure QEMU
uses: docker/setup-qemu-action@v3
- name: Configure docker
uses: docker/setup-buildx-action@v3
- name: Calculate version
run: |
if [ "${GITHUB_REF_TYPE}" == "tag" ]; then
Expand Down

0 comments on commit 52c6210

Please sign in to comment.