File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,8 @@ jobs:
231231 if [ "<<parameters.release>>" = "true" ]; then
232232 export DOCKER_MB_ALIAS=$([ "$CIRCLE_BRANCH" = "master" ] && echo beta || echo "$CIRCLE_BRANCH")
233233 echo export DOCKER_MB_ALIAS="$DOCKER_MB_ALIAS" >> "$BASH_ENV"
234- echo export DOCKER_MB_VERSION=$MB_VERSION-$DOCKER_MB_ALIAS-$CIRCLE_BUILD_NUM-$(echo $CIRCLE_SHA1 | cut -c1-7) >> "$BASH_ENV"
234+ # echo export DOCKER_MB_VERSION=$MB_VERSION-$DOCKER_MB_ALIAS-$CIRCLE_BUILD_NUM-$(echo $CIRCLE_SHA1 | cut -c1-7) >> "$BASH_ENV"
235+ echo export DOCKER_MB_VERSION=$MB_VERSION-$DOCKER_MB_ALIAS-$CIRCLE_BUILD_NUM >> "$BASH_ENV"
235236 else
236237 echo export DOCKER_MB_ALIAS="latest" >> "$BASH_ENV"
237238 echo export DOCKER_MB_VERSION=$MB_VERSION >> "$BASH_ENV"
@@ -241,7 +242,7 @@ jobs:
241242 - run : docker context create mountebank
242243 - run : docker buildx create --driver docker-container mountebank --use
243244 - run : echo "$DOCKER_PASSWORD" | docker login -u $DOCKER_USER --password-stdin
244- - run : docker buildx build --platform=linux/arm64,linux/amd64 --tag bbyars/mountebank:$DOCKER_MB_VERSION --tag bbyars/mountebank:$$DOCKER_MB_ALIAS --push .
245+ # - run: docker buildx build --platform=linux/arm64,linux/amd64 --tag bbyars/mountebank:$DOCKER_MB_VERSION --tag bbyars/mountebank:$$DOCKER_MB_ALIAS --push .
245246
246247 deploy :
247248 executor : node-active
@@ -289,6 +290,16 @@ workflows:
289290 version : 2
290291 pr :
291292 jobs :
293+ - dockerBuildPush :
294+ filters :
295+ branches :
296+ ignore : master
297+ - dockerBuildPush :
298+ parameters :
299+ release : true
300+ filters :
301+ branches :
302+ ignore : master
292303 - pr :
293304 filters :
294305 branches :
You can’t perform that action at this time.
0 commit comments