File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ pipeline {
351351 echo "Starting Stage 2.5 - Update init diagram"
352352 if ! grep -q 'init_diagram:' readme-vars.yml; then
353353 echo "Adding the key 'init_diagram' to readme-vars.yml"
354- sed -i '\\ |^#.*changelog.*$|d' readme-vars.yml
354+ sed -i '\\ |^#.*changelog.*$|d' readme-vars.yml
355355 sed -i 's|^changelogs:|# init diagram\\ ninit_diagram:\\ n\\ n# changelog\\ nchangelogs:|' readme-vars.yml
356356 fi
357357 mkdir -p ${TEMPDIR}/d2
@@ -899,15 +899,15 @@ pipeline {
899899 retry_backoff(5 ,5 ) {
900900 sh ''' #! /bin/bash
901901 set -e
902- for PUSHIMAGE in "${GITHUBIMAGE }" "${GITLABIMAGE}" "${QUAYIMAGE }" "${IMAGE }"; do
902+ for PUSHIMAGE in "${IMAGE }" "${GITLABIMAGE}" "${GITHUBIMAGE }" "${QUAYIMAGE }"; do
903903 [[ ${PUSHIMAGE%%/*} =~ \\ . ]] && PUSHIMAGEPLUS="${PUSHIMAGE}" || PUSHIMAGEPLUS="docker.io/${PUSHIMAGE}"
904904 IFS=',' read -ra CACHE <<< "$BUILDCACHE"
905905 for i in "${CACHE[@]}"; do
906906 if [[ "${PUSHIMAGEPLUS}" == "$(cut -d "/" -f1 <<< ${i})"* ]]; then
907907 CACHEIMAGE=${i}
908908 fi
909909 done
910- docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:latest -t {PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
910+ docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:latest -t $ {PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
911911 if [ -n "${SEMVER}" ]; then
912912 docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
913913 fi
You can’t perform that action at this time.
0 commit comments