Master commit next.
This commit is contained in:
@@ -33,10 +33,10 @@ jobs:
|
|||||||
username: ${{ secrets.SERVER_USERNAME }}
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
password: ${{ secrets.SERVER_PASSWORD }}
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
if docker ps -a --format '{{.Names}}' | grep -q rokoh; then
|
if docker ps -a --format '{{.Names}}' | grep -q rokoh; then
|
||||||
docker stop rokoh || true
|
docker stop rokoh || true
|
||||||
docker rm rokoh || true
|
docker rm rokoh || true
|
||||||
docker image rm rokoh || true
|
docker image rm rokoh || true
|
||||||
fi
|
fi
|
||||||
docker pull registry.rokoh.com/rokoh:latest
|
docker pull registry.rokoh.com/rokoh:latest
|
||||||
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/rokoh
|
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/rokoh
|
||||||
Reference in New Issue
Block a user