Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
3905f854
Unverified
Commit
3905f854
authored
Jul 25, 2024
by
Adrien
Committed by
GitHub
Jul 25, 2024
Browse files
Fix registry name (#2307)
parent
17ed42be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
.github/workflows/build.yaml
.github/workflows/build.yaml
+5
-6
No files found.
.github/workflows/build.yaml
View file @
3905f854
...
@@ -49,7 +49,7 @@ jobs:
...
@@ -49,7 +49,7 @@ jobs:
export dockerfile="Dockerfile"
export dockerfile="Dockerfile"
export label_extension=""
export label_extension=""
export docker_devices=""
export docker_devices=""
export runs_on="aws-g6-12xlarge-plus"
export runs_on="aws-g6-12xlarge-plus
-priv
"
;;
;;
rocm)
rocm)
export dockerfile="Dockerfile_amd"
export dockerfile="Dockerfile_amd"
...
@@ -75,13 +75,14 @@ jobs:
...
@@ -75,13 +75,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
echo REGISTRY_MIRROR=$REGISTRY_MIRROR >> $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
buildkitd-config-inline
:
|
buildkitd-config-inline
:
|
[registry."docker.io"]
[registry."docker.io"]
mirrors = ["
registry-us-east-1-mirror.prod.aws.ci.huggingface.tech
"]
mirrors = ["
${{ env.REGISTRY_MIRROR }}
"]
-
name
:
Login to internal Container Registry
-
name
:
Login to internal Container Registry
uses
:
docker/login-action@v3
uses
:
docker/login-action@v3
with
:
with
:
...
@@ -109,7 +110,6 @@ jobs:
...
@@ -109,7 +110,6 @@ jobs:
uses
:
docker/metadata-action@v5
uses
:
docker/metadata-action@v5
with
:
with
:
images
:
|
images
:
|
registry-us-east-1.prod.aws.ci.huggingface.tech/api-inference/community/text-generation-inference
registry.internal.huggingface.tech/api-inference/community/text-generation-inference
registry.internal.huggingface.tech/api-inference/community/text-generation-inference
tags
:
|
tags
:
|
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
...
@@ -122,8 +122,7 @@ jobs:
...
@@ -122,8 +122,7 @@ jobs:
flavor
:
|
flavor
:
|
latest=auto
latest=auto
images
:
|
images
:
|
registry-us-east-1.prod.aws.ci.huggingface.tech/api-inference/community/text-generation-inference
registry.internal.huggingface.tech/api-inference/community/text-generation-inference
registry.internal.huggingface.tech/api-inference/community/text-generation-inferenceca
ghcr.io/huggingface/text-generation-inference
ghcr.io/huggingface/text-generation-inference
db4c2190dd824d1f950f5d1555fbadf0.azurecr.io/text-generation-inference
db4c2190dd824d1f950f5d1555fbadf0.azurecr.io/text-generation-inference
tags
:
|
tags
:
|
...
@@ -149,7 +148,7 @@ jobs:
...
@@ -149,7 +148,7 @@ jobs:
-
name
:
Final
-
name
:
Final
id
:
final
id
:
final
run
:
|
run
:
|
echo "docker_image=registry
-us-east-1.prod.aws.ci
.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT}}${{ env.LABEL }}" >> "$GITHUB_OUTPUT"
echo "docker_image=registry
.internal
.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT}}${{ env.LABEL }}" >> "$GITHUB_OUTPUT"
echo "docker_devices=${{ env.DOCKER_DEVICES }}" >> "$GITHUB_OUTPUT"
echo "docker_devices=${{ env.DOCKER_DEVICES }}" >> "$GITHUB_OUTPUT"
echo "runs_on=${{ env.RUNS_ON }}" >> "$GITHUB_OUTPUT"
echo "runs_on=${{ env.RUNS_ON }}" >> "$GITHUB_OUTPUT"
echo "label=${{ env.LABEL }}" >> "$GITHUB_OUTPUT"
echo "label=${{ env.LABEL }}" >> "$GITHUB_OUTPUT"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment