Minor fixes.

This commit is contained in:
Nicolas Patry 2025-03-18 15:31:43 +01:00
parent 67ce543e04
commit 76484fdc66
No known key found for this signature in database
GPG Key ID: 4242CEF24CB6DBF9
2 changed files with 2 additions and 2 deletions

View File

@ -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-{{ version }} export TAG=nix-${{ github.ref_name }}
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"

View File

@ -2,5 +2,5 @@
ldconfig 2>/dev/null || echo 'unable to refresh ld cache, not a big deal in most cases' ldconfig 2>/dev/null || echo 'unable to refresh ld cache, not a big deal in most cases'
source ./.venv/bin/activate source /usr/src/.venv/bin/activate
exec text-generation-launcher $@ exec text-generation-launcher $@