Fix release nix workflow.

This commit is contained in:
Nicolas Patry 2025-03-18 15:27:48 +01:00
parent f5850f4c4f
commit 4d28897b4e
No known key found for this signature in database
GPG Key ID: 4242CEF24CB6DBF9

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-{{ 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"