Push the image that was built without specifying tags.

This commit is contained in:
Abhilash Raj
2017-11-05 21:35:53 -08:00
committed by Abhilash Raj
parent 97e9d68c3b
commit 7f6d62c069

View File

@@ -5,8 +5,8 @@ deploy() {
REG_USER=${REGISTRY}_USER
REG_PASS=${REGISTRY}_PASS
docker login -u ${!REG_USER} -p ${!REG_PASS} ${!REG_URL}
docker push ${!REG_URL}/maxking/mailman-web:$TAG
docker push ${!REG_URL}/maxking/mailman-core:$TAG
docker push ${!REG_URL}/maxking/mailman-web
docker push ${!REG_URL}/maxking/mailman-core
}
if [ ! "$BRANCH" = "master" ] && [ "$PULL_REQUEST" ]; then