Skip to content

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 09 Jan 18:12
· 11 commits to main since this release

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_sha boolean parameter to .github/workflows/publish.yaml (default: false)
    • SHA-based tagging: When tag_sha is enabled, images are automatically tagged with the commit SHA (type=raw,value={github.sha})
    • Example workflow: Added .github/workflows/on-push-branch.yaml demonstrating usage of the new tag_sha feature
    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
    
    

See full diff: v1.4.0...v1.5.0