Repository navigation
Add publish_staging_images workflow - #66
Merged
Merged
Conversation
Builds and pushes platform-ui to Docker Hub on push to staging-a/staging-b and reuses the mip bump workflow to deploy into the matching federation. Co-authored-by: Cursor <cursoragent@cursor.com>
Route github context data through env vars in the Output staging tag step
instead of interpolating ${{ github.* }} directly into the run script.
Co-authored-by: Cursor <cursoragent@cursor.com>
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
Adds
.github/workflows/publish_staging_images.ymlso a push tostaging-aorstaging-bbuilds a platform-ui image and deploys it to the matching staging federation in ~3 min.What it does
on: push: branches: [staging-a, staging-b]+workflow_dispatch.staging-${{ github.ref_name }}withcancel-in-progress: true.build: reuses the build, cache, and Docker Hub login steps frompublish_images.yml. Pushes only tohbpmip/platform-uitagged${{ github.ref_name }}-${{ github.sha:0:7 }}(7-char short SHA). Outputs the tag.bump(needsbuild): callsmip/.github/workflows/bump-staging-image.yml@masterwithbranch = ref_name,key = platform-ui.image.tag,tag = build output, and secretsSTAGING_BUMP_APP_ID/STAGING_BUMP_APP_PRIVATE_KEY.contents: read; all actions are SHA-pinned to match repo style.Notes
bump-staging-image.ymlis referenced by path in themiprepo (not present in the local checkout); the@masterref matches the mip default branch.branch/key/tag) follow the task spec; confirm against the upstream workflow once it's available.Checks
python3 -c yaml.safe_load); jobsbuild+bumppresent.Made with Cursor