diff --git a/.nvidia-ci.yml b/.nvidia-ci.yml index 17b69050..a2954b24 100644 --- a/.nvidia-ci.yml +++ b/.nvidia-ci.yml @@ -311,6 +311,7 @@ scan-ubi8-arm64: needs: - image-packaging variables: + VERSION: "${CI_COMMIT_SHORT_SHA}" PACKAGE_REGISTRY: "${CI_REGISTRY}" PACKAGE_REGISTRY_USER: "${CI_REGISTRY_USER}" PACKAGE_REGISTRY_TOKEN: "${CI_REGISTRY_PASSWORD}" diff --git a/scripts/release-kitmaker-artifactory.sh b/scripts/release-kitmaker-artifactory.sh index 4d433f28..5b5d7bf0 100755 --- a/scripts/release-kitmaker-artifactory.sh +++ b/scripts/release-kitmaker-artifactory.sh @@ -209,7 +209,7 @@ function kitmakerize-distro() { rmdir "${scratch_dir}" } -: "${VERSION=$(git describe --tags --dirty)}" +: "${VERSION=$({NVIDIA_CONTAINER_TOOLKIT_PACKAGE_VERSION})}" kitmaker_name="${COMPONENT_NAME//-/_}-${DIST}-${ARCH}-${VERSION}" kitmaker_archive="${KITMAKER_DIR}/${kitmaker_name}.tar.gz" kitmakerize-distro "${DIST}" "${ARCH}" "${kitmaker_archive}"