Skip to content

fix(ci): docker-publish never fires on prereleased -- restore published - #266

Merged
thcp merged 1 commit into
mainfrom
fix/docker-publish-release-trigger
Jul 13, 2026
Merged

fix(ci): docker-publish never fires on prereleased -- restore published#266
thcp merged 1 commit into
mainfrom
fix/docker-publish-release-trigger

Conversation

@thcp

@thcp thcp commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Bug found live

Publishing v0.8.0-alpha.7 (draft prerelease -> published) never triggered Docker Publish. CI/Linux/Windows/macOS release workflows all still listen for published and fired correctly on the release event, but docker-publish.yml (changed in #259) only listened for [prereleased, released] -- and prereleased did not fire for this publish. Result: ghcr.io/stemdeckapp/stemdeck:0.8.0-alpha.7 was never pushed, while the Unraid CA template (merged in #265) already points at that tag -- so any Unraid install right now hits image-not-found.

Confirmed via the GHCR registry API: HEAD/manifest pull for :0.8.0-alpha.7 returned 404 before this fix.

Fix

  • Trigger on [published, released] instead of [prereleased, released]. published is the reliable trigger every other release workflow already relies on.
  • :latest now fires on released, OR a plain non-prerelease published (so a first publish of a real stable release still gets :latest, not just a promote-from-prerelease edit).
  • Added a workflow_dispatch version input, so a specific tag can be pushed by hand to recover from a missed trigger without re-touching the release (which would needlessly re-run the OS build workflows again).

Verified

Dispatched this branch's workflow with version=0.8.0-alpha.7 (run 29282509362) to push the tag that alpha.7's publish missed, without re-running the OS builds. Confirmed the tag now exists in GHCR (anonymous manifest pull succeeds).

Not merged -- opening for review per the no-auto-merge rule. The immediate breakage (missing tag) is already resolved by the manual dispatch above regardless of when this merges.

…ished`

Publishing v0.8.0-alpha.7 (a draft prerelease -> published) never triggered
Docker Publish: CI/Linux/Windows/macOS releases all still listen for
`published` and fired correctly, but docker-publish.yml (changed in #259) only
listened for [prereleased, released] -- and `prereleased` did not fire for this
publish. Result: ghcr.io/stemdeckapp/stemdeck:0.8.0-alpha.7 was never pushed,
while the Unraid CA template already points at that (nonexistent) tag.

Fix: trigger on [published, released] -- published is the reliable trigger
every other release workflow already relies on; released is kept for promoting
an already-published prerelease to Latest via the release-label edit. The
:latest condition now also covers a plain non-prerelease `published` (not just
`released`), so a first-time stable release still gets :latest.

Also add a workflow_dispatch `version` input, so a specific tag can be
(re)pushed by hand to recover from a missed trigger without re-touching the
release (which would needlessly re-run the OS build workflows).
@thcp
thcp merged commit abc09e4 into main Jul 13, 2026
9 checks passed
@thcp
thcp deleted the fix/docker-publish-release-trigger branch July 13, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant