Skip to content

feat: Add GitHub Attestation, prepare for signed releases - #106

Open
Kyle Gospodnetich (KyleGospo) wants to merge 3 commits into
microsoft:mainfrom
KyleGospo:main
Open

feat: Add GitHub Attestation, prepare for signed releases#106
Kyle Gospodnetich (KyleGospo) wants to merge 3 commits into
microsoft:mainfrom
KyleGospo:main

Conversation

@KyleGospo

Copy link
Copy Markdown
Collaborator

Currently the prod action is missing a referenced workflow and gated by if:false, but this gets it in position for future signed releases.

Additionally, adds GitHub attestation to the container build step so that it's visible in the GitHub UI and done after signing.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Actions release and container-build workflows to support future signed releases by adding artifact signing for release packages and publishing build provenance attestations for container images.

Changes:

  • Update the prod release workflow to download signed artifacts via pattern matching, sign .deb artifacts with cosign, and upload .sigstore.json bundles with the release.
  • Update the container build workflow to publish GitHub attestations for image build provenance (after signing) and grant the workflow the required permissions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/prod.yml Downloads signed artifacts via pattern, signs .deb packages with cosign, and includes .sigstore.json bundles in the GitHub Release assets.
.github/workflows/build-containers.yml Adds attestation-related permissions and an actions/attest step to publish container build provenance to the registry.

Comment thread .github/workflows/build-containers.yml
Comment thread .github/workflows/prod.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants