From 9fb77909282bc3115128fd1e62030814722f1a15 Mon Sep 17 00:00:00 2001 From: drbh Date: Tue, 18 Jun 2024 11:49:43 -0400 Subject: [PATCH] fix: update docker auth step --- .github/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b00fd0c1..546021b7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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