File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,8 +137,13 @@ if [[ -n "${CI}${UI_REPO_PATH}" ]] && [[ $(echo ${REPO_NAME} | sed 's/"//g') !=
137137 # workaround since our image is still named sandbox-rhdh-plugin
138138 REPOSITORY_NAME=sandbox-rhdh-plugin
139139 push_image
140+ elif [[ -n " ${CI} " && -z " ${REPO_NAME} " ]]; then
141+ # Running in CI periodic job (REPO_NAME not set), use latest image
142+ IMAGE_LOC=" quay.io/codeready-toolchain/sandbox-rhdh-plugin:latest"
143+ echo " Running in CI periodic job, using latest image: ${IMAGE_LOC} "
140144 elif [[ ${RUNNING_IN_CONTAINER} == " true" || -n " ${CI} " ]]; then
141- # Running inside container, use the already-pushed image
145+ # Running inside container or in CI, use the already pushed image
146+ # workaround since our image is still named sandbox-rhdh-plugin
142147 IMAGE_LOC=quay.io/${QUAY_NAMESPACE} /sandbox-rhdh-plugin:${TAGS}
143148 echo " Running in container, using existing image: ${IMAGE_LOC} "
144149 fi
You can’t perform that action at this time.
0 commit comments