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
5ad41aa2a6
commit
ab281113e1
14
.github/workflows/build.yaml
vendored
14
.github/workflows/build.yaml
vendored
@ -70,13 +70,13 @@ 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: |
|
# config-inline: |
|
||||||
[registry."docker.io"]
|
# [registry."docker.io"]
|
||||||
mirrors = ["registry.github-runners.huggingface.tech"]
|
# 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