Skip to content

chore(ci): normalize and align CD pipeline #314

@nanotaboada

Description

@nanotaboada

Summary

Improve the CD pipeline: add multi-platform image support (amd64 + arm64), enable build provenance attestation, and tighten changelog generation and release metadata.

Changes

Changelog generation

  • Add --no-merges flag to git log
  • Add (%h) short hash to commit format (currently "- %s", should be "- %s (%h)")
  • Add empty changelog guard (No new changes since $PREVIOUS_TAG)

GitHub Release step

  • Set generate_release_notes: falsetrue
  • Add explicit draft: false
  • Add explicit prerelease: false

Docker

  • Set provenance: falseprovenance: mode=max
  • Add actions/attest-build-provenance step after image push
  • Add id-token: write permission to release job
  • Drop the Set image name step; use ${{ github.repository }} directly (repo name is already lowercase)

Acceptance Criteria

  • CD triggers on v*.*.*-* tags and completes successfully
  • Docker image published for both linux/amd64 and linux/arm64
  • Build provenance attestation appears on the GitHub Release
  • Changelog excludes merge commits and includes short hashes
  • GitHub Release is not a draft and not a pre-release

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgithub actionsPull requests that update GitHub Actions code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions