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 845b120 + ff3ef88 commit 9bccc2fCopy full SHA for 9bccc2f
.travis.yml
@@ -13,5 +13,4 @@ deploy:
13
provider: script
14
script: bash docker_push.sh
15
on:
16
- branch: master
17
- tags: true
+ all_branches: true
docker_push.sh
@@ -1,9 +1,10 @@
1
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USERNAME" --password-stdin
2
# if tag is defined
3
-if [[ ! -z "$TRAVIS_TAG"]]; then
+if [[ ! -z "$TRAVIS_TAG" ]]; then
4
docker push hbclab/accel-bids:$TRAVIS_TAG
5
# if the build is on the master branch
6
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
7
docker push hbclab/accel-bids:unstable
8
else
9
echo "This build is not on the master branch or a tagged release"
10
+fi
0 commit comments