Push semver containers during a release build.

This commit is contained in:
Fabrizio Steiner 2018-01-05 19:52:49 +01:00
parent 82a2df38ed
commit 598b5ebced
2 changed files with 55 additions and 1 deletions

View file

@ -12,7 +12,9 @@ jobs:
- run: |
docker login -u $DOCKER_USER -p $DOCKER_PASS
IS_RELEASE=$(if [ "$CIRCLE_TAG" != "" ] ; then echo release; else echo ci; fi;)
/build.sh $IS_RELEASE
/build.sh $IS_RELEASE || exit 1
chmod 755 /src/dockerfile/push_containers.sh
if [ "$CIRCLE_TAG" != "" ] ; then /src/dockerfile/push_containers.sh $CIRCLE_TAG; fi;
- store_artifacts:
path: /src/dist/