mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Update build.yaml
This commit is contained in:
parent
ab281113e1
commit
19e2c3b3cb
15
.github/workflows/build.yaml
vendored
15
.github/workflows/build.yaml
vendored
@ -70,13 +70,14 @@ jobs:
|
|||||||
echo "LABEL=${label_extension}" >> $GITHUB_ENV
|
echo "LABEL=${label_extension}" >> $GITHUB_ENV
|
||||||
echo "DOCKER_DEVICES=${docker_devices}" >> $GITHUB_ENV
|
echo "DOCKER_DEVICES=${docker_devices}" >> $GITHUB_ENV
|
||||||
echo "RUNS_ON=${runs_on}" >> $GITHUB_ENV
|
echo "RUNS_ON=${runs_on}" >> $GITHUB_ENV
|
||||||
#- name: Initialize Docker Buildx
|
- name: Initialize Docker Buildx
|
||||||
# uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
# with:
|
with:
|
||||||
# install: true
|
install: true
|
||||||
# config-inline: |
|
driver: docker
|
||||||
# [registry."docker.io"]
|
config-inline: |
|
||||||
# mirrors = ["registry.github-runners.huggingface.tech"]
|
[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@v3
|
uses: docker/login-action@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user