From d7a958ec7a744bce56aa14b60fb718cf07e01f42 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 14 May 2022 21:06:25 +0300 Subject: [PATCH] release fix --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 28de989..70b7e2f 100644 --- a/release.sh +++ b/release.sh @@ -5,13 +5,13 @@ version="1.2.0" oldver="1.0.5" echo "Pull docker image reverse-proxy-frontend:$version from registry." -docker pull alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$version +docker pull alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:1.2.0 echo "Stop old container." docker stop reverse-proxy-frontend && docker rm reverse-proxy-frontend echo "Run new container." -docker run -d --name reverse-proxy-frontend --restart=always -p 5009:80 alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$version +docker run -d --name reverse-proxy-frontend --restart=always -p 5005:80 alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$version echo "Remove old image reverse-proxy-frontend:$oldver." docker rmi alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$oldver