File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ stages:
103103 - !reference [.regctl-setup, before_script]
104104 # We ensure that the OUT_IMAGE_VERSION is set
105105 - ' echo Version: ${OUT_IMAGE_VERSION} ; [[ -n "${OUT_IMAGE_VERSION}" ]] || exit 1'
106+ - ' echo Version: ${OUT_IMAGE_NAME} ; [[ -n "${OUT_IMAGE_NAME}" ]] || exit 1'
107+
106108 # In the case where we are deploying a different version to the CI_COMMIT_SHA, we
107109 # need to tag the image.
108110 # Note: a leading 'v' is stripped from the version if present
@@ -124,10 +126,10 @@ stages:
124126 extends :
125127 - .release
126128 variables :
127- OUT_REGISTRY_USER : " ${CI_REGISTRY_USER }"
128- OUT_REGISTRY_TOKEN : " ${CI_REGISTRY_PASSWORD }"
129- OUT_REGISTRY : " ${CI_REGISTRY }"
130- OUT_IMAGE_NAME : " ${CI_REGISTRY_IMAGE}/staging/vgpu-device-manager "
129+ OUT_REGISTRY_USER : " ${NGC_REGISTRY_USER }"
130+ OUT_REGISTRY_TOKEN : " ${NGC_REGISTRY_TOKEN }"
131+ OUT_REGISTRY : " ${NGC_REGISTRY }"
132+ OUT_IMAGE_NAME : " ${NGC_REGISTRY_STAGING_IMAGE_NAME} "
131133
132134# Define an external release step that pushes an image to an external repository.
133135# This includes a devlopment image off master.
You can’t perform that action at this time.
0 commit comments