release script fix
parent
3bbdb6439a
commit
48b7d3a3ed
|
@ -11,10 +11,10 @@ echo "Stop old container."
|
|||
docker stop network-resurrector-frontend && docker rm network-resurrector-frontend
|
||||
|
||||
echo "Run new container."
|
||||
docker run -d --name network-resurrector-frontend --restart=always -p 5011:80 alpine-nexus:8500/network-resurrector/network-resurrector-frontend:$version
|
||||
docker run -d --name network-resurrector-frontend --restart=always -p 5009:80 alpine-nexus:8500/network-resurrector/network-resurrector-frontend:$version
|
||||
|
||||
echo "Remove old image network-resurrector-frontend:$oldver."
|
||||
docker rmi alpine-nexus:8500/network-resurrector/network-resurrector-frontend:$version
|
||||
docker rmi alpine-nexus:8500/network-resurrector/network-resurrector-frontend:$oldver
|
||||
|
||||
echo "Get container logs:"
|
||||
docker logs network-resurrector-frontend
|
||||
|
|
Loading…
Reference in New Issue