chore(ci): automated release workflows#48
Closed
abhijith-darshan wants to merge 5 commits intocloudoperators:mainfrom
Closed
chore(ci): automated release workflows#48abhijith-darshan wants to merge 5 commits intocloudoperators:mainfrom
abhijith-darshan wants to merge 5 commits intocloudoperators:mainfrom
Conversation
use github app secrets for repository dispatch
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions workflows to automate the project’s release process: one workflow creates a GitHub Release from a manually provided version tag, and a second workflow reacts to that release to build/publish a container image and notify a downstream repository.
Changes:
- Add a
workflow_dispatchworkflow to create a GitHub Release and auto-generate release notes. - Add a
release: createdworkflow to build a container image (intended for GHCR) and dispatch a notification event togreenhouse-extensions.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/release.yaml | Adds a manual “release creation” workflow that creates a GitHub Release for a provided tag/version. |
| .github/workflows/release-build.yaml | Adds a release-triggered workflow intended to build/push a GHCR image and notify greenhouse-extensions via repository dispatch. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| id: build-and-push | ||
| uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0 | ||
| with: | ||
| context: . |
| id: meta | ||
| uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0 | ||
| with: | ||
| images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/shoot-grafter |
| type=schedule | ||
| type=raw,value=${{ github.sha }} | ||
| type=sha,enable=true,format=short,prefix= | ||
| type=edge,branch=master |
Comment on lines
+38
to
+41
| # Login against a Docker registry except on PR | ||
| # https://github.com/docker/login-action | ||
| - name: Log into registry ${{ env.REGISTRY }} | ||
| if: github.event_name != 'pull_request' |
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.
No description provided.