mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-27 13:02:12 +00:00
try fixing buildx proxy
This commit is contained in:
parent
d0d0fd24a8
commit
3a85f1bd54
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@ -78,6 +78,10 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
with:
|
||||
install: true
|
||||
driver-opts: |
|
||||
env.http_proxy=localhost:1055
|
||||
env.https_proxy=localhost:1055
|
||||
env.no_proxy='localhost,127.0.0.1,::1,*.github-runners.huggingface.tech,*.amazonaws.com,*.docker.io,*.docker.com,cdn.auth0.com,*.cloudfront.net'
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4.4.1
|
||||
- name: Tailscale
|
||||
@ -144,6 +148,9 @@ jobs:
|
||||
build-args: |
|
||||
GIT_SHA=${{ env.GITHUB_SHA }}
|
||||
DOCKER_LABEL=sha-${{ env.GITHUB_SHA_SHORT }}
|
||||
http_proxy=localhost:1055
|
||||
https_proxy=localhost:1055
|
||||
no_proxy='localhost,127.0.0.1,::1,*.github-runners.huggingface.tech,*.amazonaws.com,*.docker.io,*.docker.com,cdn.auth0.com,*.cloudfront.net'
|
||||
tags: ${{ steps.meta.outputs.tags || steps.meta-pr.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels || steps.meta-pr.outputs.labels }}
|
||||
cache-from: type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache,mode=min
|
||||
|
Loading…
Reference in New Issue
Block a user