Update build.yaml

This commit is contained in:
Guillaume LEGENDRE 2024-07-03 15:16:48 +02:00 committed by GitHub
parent ab281113e1
commit 19e2c3b3cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,13 +70,14 @@ jobs:
echo "LABEL=${label_extension}" >> $GITHUB_ENV
echo "DOCKER_DEVICES=${docker_devices}" >> $GITHUB_ENV
echo "RUNS_ON=${runs_on}" >> $GITHUB_ENV
#- name: Initialize Docker Buildx
# uses: docker/setup-buildx-action@v3
# with:
# install: true
# config-inline: |
# [registry."docker.io"]
# mirrors = ["registry.github-runners.huggingface.tech"]
- name: Initialize Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
driver: docker
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@v3