mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 22:20:12 +01:00
Push semver containers during a release build.
This commit is contained in:
parent
82a2df38ed
commit
598b5ebced
2 changed files with 55 additions and 1 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue