Master commit next.

This commit is contained in:
clive
2024-05-07 00:07:08 +10:00
parent f11d6f6e2e
commit 1b63061db5

View File

@@ -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