Use real vault + prod-latest tag when workflow_dispatch is run on main#27
Merged
rcurranmoz merged 1 commit intoMay 14, 2026
Conversation
The previous PR added workflow_dispatch as a trigger but didn't update the
two existing 'push to main' gates. Result: dispatched builds on main used
the fake vault and produced a pr-{}-latest alias instead of prod-latest.
Extend both conditions (the determine-vault step's bash check and the
stage-real-vault step's if:) to also accept workflow_dispatch on main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #26 added
workflow_dispatchas a trigger but didn't update the existing "push to main" conditionals in two places, so dispatched builds on main used the fake vault and pushedpr-{}-latestinstead ofprod-latest.This PR extends both conditions to also accept
workflow_dispatchonmain:Determine vault & tagsthat setsALIAS_TAG=prod-latest/BUILD_TAG=prod-${SHA}.if:onStage real vault into workspacethat copies/etc/ronin/vault-real.yamlinto the workspace.Context
We hit this on the first workflow_dispatch attempt (run 25858509879) — the build ran with the fake vault and would have produced a non-prod tag even on success. The actual failure was a transient Apple IPSW download error at 57%, unrelated.
🤖 Generated with Claude Code