-
Notifications
You must be signed in to change notification settings - Fork 374
ci: formalize cloud release cycle for public SaaS #1683
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,6 @@ permissions: | |
|
|
||
| on: | ||
| push: | ||
| branches: ["main"] | ||
| tags: ["v*.*.*"] | ||
| workflow_dispatch: | ||
|
|
||
|
|
@@ -21,8 +20,6 @@ jobs: | |
| environment: prod | ||
| git_ref: ${{ github.ref }} | ||
| docker_tags: | | ||
| type=raw,value=main,enable=${{ github.ref == 'refs/heads/main' }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Manual dispatch publishes no image tagsMedium Severity Both remaining Reviewed by Cursor Bugbot for commit 69ec473. Configure here. |
||
| type=sha,format=long,enable=${{ github.ref == 'refs/heads/main' }} | ||
| type=semver,pattern=v{{version}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} | ||
| type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }} | ||
| secrets: inherit | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: Release Sourcebot (Cloud - Staging) | ||
|
|
||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
|
|
||
| on: | ||
| push: | ||
| branches: ["main"] | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: release-cloud-staging-${{ github.ref }} | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| build: | ||
| uses: ./.github/workflows/_build-cloud.yml | ||
| with: | ||
| environment: staging | ||
| git_ref: ${{ github.ref }} | ||
| docker_tags: | | ||
| type=raw,value=main,enable=${{ github.ref == 'refs/heads/main' }} | ||
| type=sha,format=long,enable=${{ github.ref == 'refs/heads/main' }} | ||
| secrets: inherit |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release tags skip production publish
High Severity
Official releases commit with
[skip ci]before pushing thev*.*.*tag, and GitHub suppressespushworkflows for that commit—including tag pushes. After dropping themaintrigger, production cloud images no longer publish on the release cycle. The same skip also drops the release commit from the stagingmainworkflow.Additional Locations (1)
.github/workflows/release-cloud-staging.yml#L6-L10Reviewed by Cursor Bugbot for commit 69ec473. Configure here.