mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 13:52:07 +00:00
nix-v3.2.1 -> v3.2.1-nix (#3129)
make it easier to check for version using semver semantic (same major and minor)
This commit is contained in:
parent
f5f14dc660
commit
0142550096
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
|
if [ "${{ github.event_name }}" = "pull_request" ]; then
|
||||||
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
|
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
|
||||||
else
|
else
|
||||||
export TAG=nix-${{ github.ref_name }}
|
export TAG=${{ github.ref_name }}-nix
|
||||||
fi
|
fi
|
||||||
export IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:$TAG
|
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"
|
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