Enhance CI/CD pipeline with unified workflow and semantic versioning #11
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.
Summary
This PR significantly improves our CI/CD pipeline by implementing a unified workflow system with proper semantic versioning support and enhanced testing capabilities.
Key Improvements
• Unified Workflow: Consolidated separate
build-image.ymlandpublish-templates.ymlinto a singlebuild-and-publish.ymlworkflow that handles both Docker images and OCI templates efficiently• Semantic Versioning Compliance: Implemented proper semantic versioning following the Dev Container specification, ensuring consistent version management across templates and images
• PR Testing Support: Added
pr-<number>tag generation for pull requests, enabling thorough testing of changes before they reach the main branch• Multi-Template Architecture: Built-in support for multiple templates using matrix builds, preparing the repository for future template additions
• Comprehensive Documentation: Added
VERSIONING.mdwith clear guidelines for version management and release processesTechnical Changes
build-image.yml,publish-templates.yml)build-and-publish.ymlwith matrix build support1.0.0to1.0.1following semantic versioningBenefits
Test Plan
This enhancement positions our CI/CD pipeline for better maintainability, testing, and compliance with Dev Container standards.