mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 13:52:07 +00:00
Fix release nix workflow.
This commit is contained in:
parent
f5850f4c4f
commit
4d28897b4e
2
.github/workflows/nix_build.yaml
vendored
2
.github/workflows/nix_build.yaml
vendored
@ -47,7 +47,7 @@ jobs:
|
||||
if [ "${{ github.event_name }}" = "pull_request" ]; then
|
||||
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
|
||||
else
|
||||
export TAG=nix-{{ version }}
|
||||
export TAG=nix-${{ github.ref_name }}
|
||||
fi
|
||||
export IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:$TAG
|
||||
nix-shell -p skopeo --command "skopeo --insecure-policy copy docker-archive:$(readlink -f ./result) docker://$IMAGE --dest-compress-format zstd"
|
||||
|
Loading…
Reference in New Issue
Block a user