From 16b86a7c1bd5ed1a4b227cbba2f523307ca1955c Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 14 Dec 2025 12:59:49 +0100 Subject: [PATCH] feat: add Watchtower update trigger to build workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .gitea/workflows/build.yml | 6 ++++++ CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b7e8f4b..7acf5da 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 898047a..02d2a3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to Library Desk will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.3] - 2025-12-14 + +### Added + +- Watchtower update trigger in Gitea workflow after successful build + ## [1.1.2] - 2025-12-14 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 875e01a..c63a4b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "library-desk" -version = "1.1.2" +version = "1.1.3" description = "Coordination service for The Library system - HybridRAG queries, document ingestion, entity extraction, and knowledge consolidation" readme = "README.md" requires-python = ">=3.12"