File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ if echo "$@" | grep -v "force" 2>/dev/null >/dev/null; then
2626 fi
2727fi
2828
29- docker buildx build -q --pull --no-cache --platform " $PLATFORM " -t " $IMG :$TAG " --push .
29+ docker buildx build -q --pull --no-cache --platform " $PLATFORM " -t " $IMG :$TAG " --push ${BUILDX_MULTI : +--builder " $BUILDX_MULTI " } .
3030
31- echo " $@ " | grep " release" 2> /dev/null > /dev/null && echo " >> releasing new latest" && docker buildx build -q --pull --platform " $PLATFORM " -t " $IMG :latest" --push .
31+ echo " $@ " | grep " release" 2> /dev/null > /dev/null && echo " >> releasing new latest" && docker buildx build -q --pull --platform " $PLATFORM " -t " $IMG :latest" --push ${BUILDX_MULTI : +--builder " $BUILDX_MULTI " } .
3232
3333# make sure to exit if this is only version check
3434echo " $@ " | grep " version-check" && exit 0
You can’t perform that action at this time.
0 commit comments