Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
[BUA-733] Improving push image script.
Browse files Browse the repository at this point in the history
Former-commit-id: d35e033
  • Loading branch information
Diego Fernando Molina Bocanegra committed Nov 7, 2016
1 parent ac9d2f8 commit 46e6851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ -n "${TRAVIS_TAG}" ] && [ "${TRAVIS
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
echo "Logged in to docker with user '${DOCKER_USERNAME}'"
echo "docker tag and docker push using TRAVIS_TAG=${TRAVIS_TAG}"
docker tag zalenium:latest dosel/zalenium:${TRAVIS_TAG}
docker tag zalenium:latest dosel/zalenium:latest
docker tag zalenium:${TRAVIS_TAG} dosel/zalenium:${TRAVIS_TAG}
docker tag zalenium:${TRAVIS_TAG} dosel/zalenium:latest
docker push dosel/zalenium:${TRAVIS_TAG} | tee docker_push.log
docker push dosel/zalenium:latest
else
Expand Down

0 comments on commit 46e6851

Please sign in to comment.