mirror of
https://github.com/dcarrillo/docker-nginx.git
synced 2025-01-08 03:06:47 +00:00
Remove duplicated variable declaration
This commit is contained in:
parent
b9f3f51de0
commit
ec2f8aea0d
2
build.sh
2
build.sh
@ -30,5 +30,5 @@ fi
|
|||||||
|
|
||||||
if [ x$LATEST = "xtrue" ]; then
|
if [ x$LATEST = "xtrue" ]; then
|
||||||
docker tag "$DOCKER_IMAGE":"$NGINX_VERSION" "$DOCKER_IMAGE":latest
|
docker tag "$DOCKER_IMAGE":"$NGINX_VERSION" "$DOCKER_IMAGE":latest
|
||||||
docker push "$DOCKER_IMAGE":latest
|
[ x$PUSH = "xtrue" ] && docker push "$DOCKER_IMAGE":latest
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user