mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 23:42:06 +00:00
fix: update docker auth step
This commit is contained in:
parent
9ce3f046b8
commit
9fb7790928
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@ -64,11 +64,12 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v2.0.0
|
uses: docker/setup-buildx-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
install: true
|
install: true
|
||||||
- name: Login to Docker Hub
|
- name: Set up Docker Buildx
|
||||||
uses: docker/login-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
config-inline: |
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
[registry."docker.io"]
|
||||||
|
mirrors = ["registry.github-runners.huggingface.tech"]
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user