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:
Corentin REGAL 2025-03-26 15:36:43 +01:00 committed by GitHub
parent f5f14dc660
commit 0142550096
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ jobs:
if [ "${{ github.event_name }}" = "pull_request" ]; then
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
else
export TAG=nix-${{ github.ref_name }}
export TAG=${{ github.ref_name }}-nix
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"