File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -82,9 +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'
87- - ' echo Version: ${OUT_IMAGE_NAME} ; [[ -n "${OUT_IMAGE_NAME}" ]] || 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'
8887 # In the case where we are deploying a different version to the CI_COMMIT_SHA, we
8988 # need to tag the image.
9089 # Note: a leading 'v' is stripped from the version if present
You can’t perform that action at this time.
0 commit comments