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