diff --git a/deploy-container.sh b/deploy-container.sh index 77b341b..621086b 100755 --- a/deploy-container.sh +++ b/deploy-container.sh @@ -1,6 +1,5 @@ #!/bin/bash -docker login -u=gavinmroy -p=${DOCKER_PASSWORD} -docker build -t aweber/rabbitmq-autocluster:${TRAVIS_TAG} . -docker tag aweber/rabbitmq-autocluster:${TRAVIS_TAG} aweber/rabbitmq-autocluster:latest -docker push aweber/rabbitmq-autocluster:${TRAVIS_TAG} +docker build -t aweber/rabbitmq-autocluster:$1 . +docker tag aweber/rabbitmq-autocluster:$1 aweber/rabbitmq-autocluster:latest +docker push aweber/rabbitmq-autocluster:$1 docker push aweber/rabbitmq-autocluster:latest