We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bccc2f + a775067 commit e441d5aCopy full SHA for e441d5a
docker_push.sh
@@ -1,9 +1,11 @@
1
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USERNAME" --password-stdin
2
# if tag is defined
3
if [[ ! -z "$TRAVIS_TAG" ]]; then
4
+ docker tag hbclab/accel-bids:latest hbclab/accel-bids:$TRAVIS_TAG
5
docker push hbclab/accel-bids:$TRAVIS_TAG
6
# if the build is on the master branch
7
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
8
+ docker tag hbclab/accel-bids:latest hbclab/accel-bids:unstable
9
docker push hbclab/accel-bids:unstable
10
else
11
echo "This build is not on the master branch or a tagged release"
0 commit comments