feat: add Watchtower update trigger to build workflow
Build and Push / build (release) Successful in 30s

Automatically triggers Watchtower to update containers after successful build and push.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-14 12:59:49 +01:00
co-authored by Claude Opus 4.5
parent 2ac4595b37
commit 16b86a7c1b
3 changed files with 13 additions and 1 deletions
+6
View File
@@ -25,3 +25,9 @@ jobs:
tags: |
git.schweitz.internal/jpmschweitzer/library-desk:latest
git.schweitz.internal/jpmschweitzer/library-desk:${{ github.ref_name }}
- name: Trigger Watchtower update
if: success()
run: |
curl -sf -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \
http://watchtower:8080/v1/update