From 7d1595326b5f38b1e6baa7ef708675c29e34aa4a Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Fri, 3 Jun 2016 18:52:04 -0400 Subject: [PATCH] Change build script to be run locally --- deploy-container.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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