mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
Merge branch 'fix-kitmaker' into 'main'
Log source file See merge request nvidia/container-toolkit/container-toolkit!326
This commit is contained in:
commit
c59696e30e
@ -167,6 +167,7 @@ function upload_archive() {
|
|||||||
props+=("platform=${os}-${arch}")
|
props+=("platform=${os}-${arch}")
|
||||||
props+=("changelist=${GIT_COMMIT_SHORT}")
|
props+=("changelist=${GIT_COMMIT_SHORT}")
|
||||||
props+=("branch=${GIT_BRANCH}")
|
props+=("branch=${GIT_BRANCH}")
|
||||||
|
props+=("source=https://gitlab.com/nvidia/container-toolkit/container-toolkit")
|
||||||
# Package properties:
|
# Package properties:
|
||||||
props+=("package.epoch=${IMAGE_EPOCH}")
|
props+=("package.epoch=${IMAGE_EPOCH}")
|
||||||
props+=("package.version=${VERSION}")
|
props+=("package.version=${VERSION}")
|
||||||
@ -180,7 +181,11 @@ function upload_archive() {
|
|||||||
done
|
done
|
||||||
local PROPS=$(join_by ";" "${props[@]}")
|
local PROPS=$(join_by ";" "${props[@]}")
|
||||||
|
|
||||||
echo "Uploading ${upload_url} from ${file}"
|
echo "Uploading ${upload_url} from ${archive}"
|
||||||
|
echo -H "X-JFrog-Art-Api: REDACTED" \
|
||||||
|
-H "X-Checksum-Sha1: ${sha1_checksum}" \
|
||||||
|
${archive:+-T ${archive}} -X PUT \
|
||||||
|
"${upload_url};${PROPS}"
|
||||||
if ! ${CURL} -f \
|
if ! ${CURL} -f \
|
||||||
-H "X-JFrog-Art-Api: ${ARTIFACTORY_TOKEN}" \
|
-H "X-JFrog-Art-Api: ${ARTIFACTORY_TOKEN}" \
|
||||||
-H "X-Checksum-Sha1: ${sha1_checksum}" \
|
-H "X-Checksum-Sha1: ${sha1_checksum}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user