File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -843,15 +843,15 @@ pipeline {
843
843
retry_backoff(5 ,5 ) {
844
844
sh ''' #! /bin/bash
845
845
set -e
846
- for PUSHIMAGE in "${GITHUBIMAGE }" "${GITLABIMAGE}" "${QUAYIMAGE }" "${IMAGE }"; do
846
+ for PUSHIMAGE in "${IMAGE }" "${GITLABIMAGE}" "${GITHUBIMAGE }" "${QUAYIMAGE }"; do
847
847
[[ ${PUSHIMAGE%%/*} =~ \\ . ]] && PUSHIMAGEPLUS="${PUSHIMAGE}" || PUSHIMAGEPLUS="docker.io/${PUSHIMAGE}"
848
848
IFS=',' read -ra CACHE <<< "$BUILDCACHE"
849
849
for i in "${CACHE[@]}"; do
850
850
if [[ "${PUSHIMAGEPLUS}" == "$(cut -d "/" -f1 <<< ${i})"* ]]; then
851
851
CACHEIMAGE=${i}
852
852
fi
853
853
done
854
- 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}
854
+ 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}
855
855
if [ -n "${SEMVER}" ]; then
856
856
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
857
857
fi
You can’t perform that action at this time.
0 commit comments