mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-22 02:25:30 +00:00
[no-relnote] Fix archive-packages script
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
1330467652
commit
784917a0d9
@ -39,12 +39,15 @@ ARTIFACTORY_REPO=$1
|
||||
|
||||
if [[ $# -eq 2 ]]; then
|
||||
REFERENCE=$2
|
||||
SHA=$(git rev-parse --short=8 ${REFERENCE})
|
||||
elif [[ -z ${PACKAGE_IMAGE_TAG} ]]; then
|
||||
echo "Either PACKAGE_IMAGE_TAG or REFERENCE must be specified"
|
||||
assert_usage "$@"
|
||||
else
|
||||
REFERENCE="HEAD"
|
||||
fi
|
||||
|
||||
SHA=$(git rev-parse --short=8 ${REFERENCE})
|
||||
|
||||
: ${CURL:=curl}
|
||||
|
||||
: ${PACKAGE_IMAGE_NAME="registry.gitlab.com/nvidia/container-toolkit/container-toolkit/staging/container-toolkit"}
|
||||
|
Loading…
Reference in New Issue
Block a user