annotate dockerfiles/deploy.sh @ 0:21d312776891 draft

planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
author mvdbeek
date Sat, 09 Jul 2016 16:57:13 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
21d312776891 planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff changeset
1 #!/usr/bin/env bash
21d312776891 planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff changeset
2 LOGIN="docker login -e=$DOCKER_EMAIL -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD" && \
21d312776891 planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff changeset
3 $LOGIN || (sleep 5s && $LOGIN || echo "login failed twice, quitting" && exit 1) && \
21d312776891 planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff changeset
4 docker push artbio/scriptrunner || (sleep 5s && docker push artbio/scriptrunner || echo "push failed twice, quitting" && exit 1) && \
21d312776891 planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit 30f8264cdd67d40dec8acde6407f32152e6a29c1-dirty
mvdbeek
parents:
diff changeset
5 docker push artbio/scriptrunner-r-bioperl-python || (sleep 5s && docker push artbio/scriptrunner-r-bioperl-python || echo "push failed twice, quitting" && exit 1)