Skip to content

Docker Release#551

Merged
iameneko merged 1 commit intodevelopfrom
550-add-docker-release-pipeline
Mar 27, 2026
Merged

Docker Release#551
iameneko merged 1 commit intodevelopfrom
550-add-docker-release-pipeline

Conversation

@iameneko
Copy link
Copy Markdown
Contributor

This pull request updates the GitHub Actions workflows for CI and release processes, with a focus on improving Docker image naming consistency, simplifying image tagging logic, and adding automated publishing of a developer image on pushes to the develop branch. The changes also enhance artifact handling and permissions in the release workflow.

Docker image naming and tagging improvements:

  • Standardized Docker image naming to use the lowercased repository owner (github.repository_owner) instead of the full repository name, ensuring more predictable and consistent image names and tags across all workflow steps. This affects both CI and release workflows. [1] [2] [3] [4] [5] [6]

CI workflow enhancements:

  • Removed unnecessary path filters and environment variables from the CI workflow to streamline execution and reduce maintenance overhead. [1] [2]
  • Added a new publish-dev-image job that automatically builds and pushes a developer/debug Docker image (chronolog-dev:develop) to GHCR on every push to the develop branch. This job includes steps for reconcretizing the Spack environment, building and installing the Debug target, preparing the image, and cleaning up resources.

Release workflow enhancements:

  • Updated permissions to allow package publishing (packages: write) and improved artifact handling by separately copying release and debug tarballs out of the build container. [1] [2] [3]
  • Added explicit steps to commit and push release Docker images (chronolog:v<version> and chronolog:latest) to GHCR, ensuring that images are properly labeled and tagged with version information.

These changes make the CI/CD pipeline more robust, maintainable, and better aligned with best practices for Docker image management and artifact publishing.

…agging

- Updated CI and release workflows to replace lowercase repository name with the repository owner for Docker image tagging.
- Removed unnecessary steps for setting repository name in workflows.
- Enhanced the publish-dev-image job in CI to include steps for building and preparing the Docker image for publishing.
- Added steps to copy release tarballs out of the container and commit the release Docker image with proper environment variables.
- Improved permissions for package handling in the release workflow.
@iameneko iameneko self-assigned this Mar 24, 2026
@iameneko iameneko marked this pull request as ready for review March 26, 2026 15:05
@iameneko iameneko linked an issue Mar 26, 2026 that may be closed by this pull request
@iameneko iameneko merged commit bfdc7bb into develop Mar 27, 2026
4 checks passed
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.

Add Docker Release pipeline

2 participants