feat(ci): implement release-please for automated releases#434
Closed
kriscoleman wants to merge 1 commit into
Closed
feat(ci): implement release-please for automated releases#434kriscoleman wants to merge 1 commit into
kriscoleman wants to merge 1 commit into
Conversation
Adds release-please GitHub Actions workflow that: - Opens release PRs on conventional commits to main - Creates GitHub releases and tags when release PRs merge - Builds and pushes Docker image automatically on release Includes manifest/config files starting at current version 0.28.13. Manual tag pushes still trigger the existing release.yaml workflow.
Member
|
Question on this:
|
Member
Author
|
Member
Author
|
closing as a different direction is being considered. |
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.
feat(ci): implement release-please for automated releases
Summary
This PR automates the EKCO release process using release-please. Instead of manually pushing Git tags to trigger releases, the new workflow opens release PRs based on conventional commits, creates GitHub releases automatically, and builds/pushes the Docker image without manual intervention.
Changes
.github/workflows/release-please.yamlwith two jobs:release-please: Runs on every push tomain, opens/updates release PRs usingrelease-please-action@v4build-and-push: Triggered only when a release is actually created, checks out the release tag, builds the Docker image withmake docker-image, and pushesreplicated/ekco:<tag>to DockerHubrelease-please-config.json— configures the root package withrelease-type: simpleandpackage-name: ekco.release-please-manifest.json— seeded with the current version0.28.13README.mdrelease documentation to describe the new automated flow and how manual tag pushes still work as a fallbackDesign Decision
The Docker build is integrated directly into the
release-pleaseworkflow rather than relying on the existingrelease.yamlbeing triggered by the new tag. This is necessary because GitHub Actions tags created by the defaultGITHUB_TOKENdo not trigger other workflows — it is a platform limitation to prevent recursive runs. The existingrelease.yamlis intentionally kept so manual tag pushes still function as a fallback.UAT
mainfeat: somethingorfix: something)release-pleaseworkflow opens a release PR proposing the next versionreplicated/ekco:<tag>is built and pushed