File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ stages:
8282 OUT_IMAGE_VERSION : " ${CI_COMMIT_SHORT_SHA}"
8383 before_script :
8484 - !reference [.regctl-setup, before_script]
85- # We ensure that the OUT_IMAGE_VERSION is set
86- - ' echo Version: ${OUT_IMAGE_VERSION} ; [[ -n "${OUT_IMAGE_VERSION}" ]] || exit 1'
85+ # We ensure that the OUT_IMAGE_VERSION and OUT_IMAGE_NAME is set
86+ - ' echo " Version: ${OUT_IMAGE_VERSION}, Image: ${OUT_IMAGE_NAME}" ; [[ -n "${OUT_IMAGE_VERSION}" && -n "${OUT_IMAGE_NAME }" ]] || exit 1'
8787 # In the case where we are deploying a different version to the CI_COMMIT_SHA, we
8888 # need to tag the image.
8989 # Note: a leading 'v' is stripped from the version if present
@@ -106,10 +106,10 @@ stages:
106106 extends :
107107 - .release
108108 variables :
109- OUT_REGISTRY_USER : " ${CI_REGISTRY_USER }"
110- OUT_REGISTRY_TOKEN : " ${CI_REGISTRY_PASSWORD }"
111- OUT_REGISTRY : " ${CI_REGISTRY }"
112- OUT_IMAGE_NAME : " ${CI_REGISTRY_IMAGE}/staging/k8s-kata-manager "
109+ OUT_REGISTRY_USER : " ${NGC_REGISTRY_USER }"
110+ OUT_REGISTRY_TOKEN : " ${NGC_REGISTRY_TOKEN }"
111+ OUT_REGISTRY : " ${NGC_REGISTRY }"
112+ OUT_IMAGE_NAME : " ${NGC_REGISTRY_STAGING_IMAGE_NAME} "
113113
114114# Define an external release step that pushes an image to an external repository.
115115.release:external :
You can’t perform that action at this time.
0 commit comments