refactor: update release, build and push github actions #94
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.
This pull request refactors the project's CI/CD pipeline by splitting the release, build, publish, and chart update workflows into dedicated, modular GitHub Actions files. It replaces the previous monolithic
semantic-release.yml
with a set of specialized workflows, improving maintainability, clarity, and control over the release process. The new workflows automate semantic versioning, internal library publishing, Docker image building, Helm chart publishing, and service lockfile refreshes.Release & Versioning Automation
.github/workflows/prepare-release.yml
to automate semantic version calculation, internal library version bumps, and creation of a "prepare-release" PR after merging tomain
..github/workflows/create-release.yml
to create a Git tag and GitHub Release when a "refresh-locks" PR is merged, extracting the version from the PR title.Build & Publish Workflows
.github/workflows/build-images.yml
to build and push Docker images for all services after a release is published, and to collect image digests as artifacts..github/workflows/publish-libs-on-merge.yml
to publish internal libraries to TestPyPI and refresh service lockfiles/pins when a "prepare-release" PR is merged..github/workflows/publish-chart.yml
to bump Helm chart versions and publish them to GHCR after images are built, including a PR to persist version updates.Workflow Cleanups & Refactors
.github/workflows/semantic-release.yml
in favor of the new modular workflows..github/workflows/lint-and-test.yml
to skip jobs for PRs labeled as release-related and switched Docker builds to useDockerfile.dev
for development builds. [1] [2]Dependency & Metadata Updates
services/admin-backend/pyproject.toml
to use the correct service name (admin-backend
) and set its version to2.2.1
.