Skip to content

Commit

Permalink
Add the commit SHA tag during building of precompiled image
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <shivaku@nvidia.com>
  • Loading branch information
shivakunv committed Feb 4, 2025
1 parent 8ba217c commit b0d1e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ jobs:
echo "Downloading $image in tests directory"
gh run download --name $image --dir ./tests/
status=0
TEST_CASE_ARGS="${GPU_OPERATOR_OPTIONS} --set driver.version=${DRIVER_VERSION}"
TEST_CASE_ARGS="${GPU_OPERATOR_OPTIONS} --set driver.version=${{ env.COMMIT_SHORT_SHA && format('{0}-', env.COMMIT_SHORT_SHA) }}${DRIVER_VERSION}"
# add escape character for space
TEST_CASE_ARGS=$(printf '%q ' "$TEST_CASE_ARGS")
IMAGE_PATH="./tests/driver-images-${{ env.COMMIT_SHORT_SHA && format('{0}-', env.COMMIT_SHORT_SHA) }}${DRIVER_VERSION}-${KERNEL_VERSION}-${{ env.COMMIT_SHORT_SHA && format('signed_{0}', env.DIST) || env.DIST }}.tar"
Expand Down

0 comments on commit b0d1e99

Please sign in to comment.