Remove duplicated variable declaration

This commit is contained in:
Daniel Carrillo 2019-12-24 17:19:08 +01:00
parent b9f3f51de0
commit ec2f8aea0d
1 changed files with 1 additions and 1 deletions

View File

@ -30,5 +30,5 @@ fi
if [ x$LATEST = "xtrue" ]; then
docker tag "$DOCKER_IMAGE":"$NGINX_VERSION" "$DOCKER_IMAGE":latest
docker push "$DOCKER_IMAGE":latest
[ x$PUSH = "xtrue" ] && docker push "$DOCKER_IMAGE":latest
fi