Repository navigation
v1.5.0
What's changed in v1.5.0
-
feat: optional sha tag (#18) (by @patrickleet)
Summary
Added support for optionally tagging Docker images with commit SHA in the reusable publish workflow.
Changes
- New workflow input: Added
tag_shaboolean parameter to.github/workflows/publish.yaml(default:false) - SHA-based tagging: When
tag_shais enabled, images are automatically tagged with the commit SHA (type=raw,value={github.sha}) - Example workflow: Added
.github/workflows/on-push-branch.yamldemonstrating usage of the newtag_shafeature
Benefits
- Enables precise image versioning by commit SHA
- Maintains backward compatibility (opt-in feature)
- Facilitates debugging and rollback scenarios by providing immutable SHA-based tags
Usage
uses: ./.github/workflows/publish.yaml with: tag_sha: true
- New workflow input: Added
See full diff: v1.4.0...v1.5.0