feat: add workflow_dispatch trigger and document rebuild options
Some checks failed
Build and push telegraf-snmp-unifi image / build-and-push-image (push) Failing after 1m58s

This commit is contained in:
dresi 2026-06-11 16:03:54 +02:00
parent dc121ae8e5
commit 88790ed23a
2 changed files with 13 additions and 0 deletions

View File

@ -10,6 +10,7 @@ on:
- '.gitea/workflows/telegraf-snmp-unifi.yaml' - '.gitea/workflows/telegraf-snmp-unifi.yaml'
tags: tags:
- 'v*' - 'v*'
workflow_dispatch:
env: env:
RESULT_IMAGE_NAME: tools/telegraf-snmp-unifi RESULT_IMAGE_NAME: tools/telegraf-snmp-unifi

View File

@ -16,3 +16,15 @@
| `git tag v1.0.0 && git push origin v1.0.0` | `:<sha>` + `:v1.0.0` | | `git tag v1.0.0 && git push origin v1.0.0` | `:<sha>` + `:v1.0.0` |
`:latest` wird nur durch Pushes auf `main` überschrieben. Feature-Branches bauen immer, lassen `:latest` aber unberührt. `: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).