Skip to content

Commit

Permalink
fix: update docker auth step
Browse files Browse the repository at this point in the history
  • Loading branch information
drbh committed Jun 18, 2024
1 parent 9ce3f04 commit 9fb7790
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ jobs:
uses: docker/[email protected]
with:
install: true
- name: Login to Docker Hub
uses: docker/login-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
config-inline: |
[registry."docker.io"]
mirrors = ["registry.github-runners.huggingface.tech"]
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
Expand Down

0 comments on commit 9fb7790

Please sign in to comment.