update ci
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -30,14 +30,14 @@ jobs:
|
||||
if docker service inspect imagegenerator_service >/dev/null 2>&1; then
|
||||
docker service update \
|
||||
--image ghcr.io/serverussnap/imagegenerator:latest \
|
||||
--publish-add published=3050,target=3000,mode=host \
|
||||
--publish-add 3050:3000 \
|
||||
--constraint node.hostname==worker \
|
||||
--with-registry-auth \
|
||||
imagegenerator_service
|
||||
else
|
||||
docker service create \
|
||||
--name imagegenerator_service \
|
||||
--publish published=3050,target=3000,mode=host \
|
||||
--publish 3050:3000 \
|
||||
--constraint node.hostname==worker \
|
||||
--with-registry-auth \
|
||||
ghcr.io/serverussnap/imagegenerator:latest
|
||||
|
||||
Reference in New Issue
Block a user