Sync compose with VPS deployment and trigger Watchtower on image push
Build and Push agentchat Image / quality (push) Successful in 32s
Build and Push agentchat Image / build-image (push) Successful in 10s

The deployed compose (SELinux :Z, TZ, healthcheck, watchtower label) now
lives in the repo as the source of truth, and CI asks the VPS Watchtower
API to deploy immediately after pushing instead of waiting for the
nightly sweep.
This commit is contained in:
Gabriel Brown
2026-08-13 09:23:22 -04:00
parent 377a6472a9
commit 0564e34372
3 changed files with 20 additions and 18 deletions
+8
View File
@@ -33,3 +33,11 @@ jobs:
docker tag agentchat:latest git.gbrown.org/gib/agentchat:latest
docker push git.gbrown.org/gib/agentchat:${{ gitea.sha }}
docker push git.gbrown.org/gib/agentchat:latest
# Watchtower on the VPS updates labelled containers nightly at 04:30; this
# asks it to do so immediately. Non-fatal: the sweep still catches it.
- name: Trigger immediate deploy via Watchtower API
run: |
curl -fsS -X POST -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \
http://192.168.2.2:8080/v1/update \
|| echo "::warning::watchtower trigger failed; nightly sweep will deploy instead"