From a72041fcb02d09a8fc53efc829310063b4985c93 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 14 Dec 2025 12:47:00 +0100 Subject: [PATCH] Add Watchtower trigger to CI workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add step to trigger Watchtower update after successful build - Bump version to 1.1.1 🤖 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 f05c769..a62a791 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,3 +25,9 @@ jobs: tags: | git.schweitz.internal/jpmschweitzer/core-api:latest git.schweitz.internal/jpmschweitzer/core-api:${{ 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 3ba12a6..4a3437b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project 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.1] - 2024-12-14 + +### Added + +- Watchtower trigger step in CI workflow for automatic container updates + ## [1.1.0] - 2024-12-14 ### Removed diff --git a/pyproject.toml b/pyproject.toml index 9baac5f..565a1b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "core-api" -version = "1.1.0" +version = "1.1.1" description = "Core Code API - Infrastructure management and tools API" readme = "README.md" requires-python = ">=3.12"