Commit 80bfb99
committed
release-watch: trigger docker/release via workflow_dispatch (no PAT needed)
A tag pushed with the built-in GITHUB_TOKEN does not trigger the on:push:tags
workflows (GitHub's recursion guard), so the watcher's auto-bump tag would land
but docker.yml/release.yml would never run and the image would silently never
republish.
workflow_dispatch is the documented exception GITHUB_TOKEN is allowed to trigger,
so after tagging, the watcher now explicitly runs docker.yml + release.yml against
the new tag ref (gh workflow run --ref v${new}). Both derive their version from
GITHUB_REF_NAME, so the dispatched build produces the identical X.Y.Z + latest
image tags a native tag-push would. Adds actions:write for the dispatch. No PAT
or extra secret required (GitHub provides no API to mint one anyway).1 parent 5ab4eac commit 80bfb99
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
0 commit comments