annotate dockerfiles/deploy.sh @ 2:495946ffc2d6 draft default tip

planemo upload for repository https://github.com/mvdbeek/docker_scriptrunner/ commit dded837d19aeb3f06b84e5076282cedeeaf713fa
author mvdbeek
date Sun, 22 Jul 2018 13:38:01 -0400
parents 21d312776891
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)