From 88790ed23aab45ef968496f26a43b0987d6f4130 Mon Sep 17 00:00:00 2001 From: dresi Date: Thu, 11 Jun 2026 16:03:54 +0200 Subject: [PATCH] feat: add workflow_dispatch trigger and document rebuild options --- .gitea/workflows/telegraf-snmp-unifi.yaml | 1 + README.md | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitea/workflows/telegraf-snmp-unifi.yaml b/.gitea/workflows/telegraf-snmp-unifi.yaml index 2bd2f18..627c381 100644 --- a/.gitea/workflows/telegraf-snmp-unifi.yaml +++ b/.gitea/workflows/telegraf-snmp-unifi.yaml @@ -10,6 +10,7 @@ on: - '.gitea/workflows/telegraf-snmp-unifi.yaml' tags: - 'v*' + workflow_dispatch: env: RESULT_IMAGE_NAME: tools/telegraf-snmp-unifi diff --git a/README.md b/README.md index 7ca79e2..05ec1c8 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,15 @@ | `git tag v1.0.0 && git push origin v1.0.0` | `:` + `:v1.0.0` | `:latest` wird nur durch Pushes auf `main` überschrieben. Feature-Branches bauen immer, lassen `:latest` aber unberührt. + +## Rebuild without code changes + +To trigger a rebuild (e.g. to pull latest `apt upgrade`): + +**Option 1 — empty commit:** +```bash +git commit --allow-empty -m "chore: rebuild to pull latest apt upgrades" +git push +``` + +**Option 2 — manual trigger:** Use the "Run workflow" button in the Gitea Actions UI (`telegraf-snmp-unifi` workflow only).