Skip to content

ci: add build-app.yml back to push-stage.yml to ensure image exists #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matt-codecov
Copy link
Collaborator

@matt-codecov matt-codecov commented Jun 5, 2025

let's say you push current main to staging. if the latest commit on main does not touch worker, or does not touch API, those parts of push-stage.yml will fail due to not having an image and staging won't actually be updated.

this PR adds the _build-app.yml step back to push-stage.yml. most of the time it should get to use an image from GHA's cache or pull a prebuilt image from our container registry and early-exit.

it also adds an early-exit to _build-app.yml if we have a cache hit on the app's image

@matt-codecov matt-codecov requested a review from ajay-sentry June 5, 2025 17:28
@matt-codecov matt-codecov enabled auto-merge June 5, 2025 17:30
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.

2 participants