From 9ae10af1df0379cd6553fea40f7454db838d5b4a Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 14 Dec 2025 12:45:06 +0100 Subject: [PATCH] ci: Add Watchtower update trigger after build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/build.yml | 6 ++++++ CHANGELOG.md | 5 +++++ pyproject.toml | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 069448a..188aea3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,3 +25,9 @@ jobs: tags: | git.schweitz.internal/jpmschweitzer/scheduler:latest git.schweitz.internal/jpmschweitzer/scheduler:${{ github.ref_name }} + + - name: Trigger Watchtower update + if: success() + run: | + curl -sf -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \ + http://watchtower:8070/v1/update diff --git a/CHANGELOG.md b/CHANGELOG.md index 7281cca..7fe1a45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to The Scheduler will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [1.0.3] - 2025-12-14 + +### Added +- CI/CD: Trigger Watchtower update after successful Docker build + ## [1.0.2] - 2025-12-14 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 2eff4e8..eaf3703 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "the-scheduler" -version = "1.0.2" +version = "1.0.3" description = "System-wide maintenance orchestration - backups, doc mirroring, cleanup, task automation" readme = "README.md" requires-python = ">=3.12"