Skip to content

Commit 4d28897

Browse files
committed
Fix release nix workflow.
1 parent f5850f4 commit 4d28897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nix_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
if [ "${{ github.event_name }}" = "pull_request" ]; then
4848
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
4949
else
50-
export TAG=nix-{{ version }}
50+
export TAG=nix-${{ github.ref_name }}
5151
fi
5252
export IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:$TAG
5353
nix-shell -p skopeo --command "skopeo --insecure-policy copy docker-archive:$(readlink -f ./result) docker://$IMAGE --dest-compress-format zstd"

0 commit comments

Comments
 (0)