diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 38fd19c..f153e63 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -104,11 +104,14 @@ jobs: # (deliberately no `--build`), which only builds when the image tag # isn't already present locally. So a bare restart would just # relaunch the previous image; removing that tag first forces a - # fresh build from the code just synced above. sudo is needed since - # the unit — and thus the image — is root's, not gitea-runner's own - # (gitea-runner has passwordless sudo for this on cube-host). + # fresh build from the code just synced above — purely local, no + # registry involved (same `maptool:latest` docker-compose.yaml + # already builds/tags; podman rmi never talks to a registry for a + # locally-built image). sudo is needed since the unit — and thus the + # image — is root's, not gitea-runner's own (gitea-runner has + # passwordless sudo for this on cube-host). - name: Deploy run: | sudo systemctl stop podman-compose@maptool.service - sudo podman rmi -f docker.io/library/maptool:latest || true + sudo podman rmi -f maptool:latest || true sudo systemctl start podman-compose@maptool.service