fix: update docker auth step

This commit is contained in:
drbh 2024-06-18 11:49:43 -04:00
parent 9ce3f046b8
commit 9fb7790928
1 changed files with 5 additions and 4 deletions

View File

@ -64,11 +64,12 @@ jobs:
uses: docker/setup-buildx-action@v2.0.0
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