Skip to content

Comments

Add attestations for release artifacts and Docker images#2827

Open
shaanmajid wants to merge 3 commits intoastral-sh:mainfrom
shaanmajid:artifact-attestations
Open

Add attestations for release artifacts and Docker images#2827
shaanmajid wants to merge 3 commits intoastral-sh:mainfrom
shaanmajid:artifact-attestations

Conversation

@shaanmajid
Copy link
Contributor

@shaanmajid shaanmajid commented Feb 16, 2026

Summary

Adds GitHub artifact attestations (SLSA provenance) for release artifacts and Docker images.

Users will be able to verify artifacts with:

# Release artifacts
gh attestation verify ty-x86_64-unknown-linux-gnu.tar.gz --repo astral-sh/ty

# Docker images
gh attestation verify oci://ghcr.io/astral-sh/ty:latest --repo astral-sh/ty

Test Plan

Tested end-to-end release and attestation verification on my fork.

Verify release artifacts:

gh release download 0.0.17 --repo shaanmajid/ty --pattern "ty-x86_64-unknown-linux-gnu.tar.gz" --dir /tmp
gh attestation verify /tmp/ty-x86_64-unknown-linux-gnu.tar.gz --repo shaanmajid/ty

Verify Docker images:

gh attestation verify oci://ghcr.io/shaanmajid/ty:0.0.17 --repo shaanmajid/ty
gh attestation verify oci://ghcr.io/shaanmajid/ty:alpine --repo shaanmajid/ty
gh attestation verify oci://ghcr.io/shaanmajid/ty:debian --repo shaanmajid/ty

Notes

@shaanmajid shaanmajid changed the title Artifact attestations Add attestations for release artifacts and Docker images Feb 16, 2026
@shaanmajid
Copy link
Contributor Author

cc @woodruffw per astral-sh/ruff#23111 (comment) :^)

@woodruffw woodruffw self-requested a review February 16, 2026 20:50
@woodruffw
Copy link
Member

Thanks @shaanmajid, assigning myself! I should be able to review this tomorrow.

@woodruffw woodruffw added the ci Related to internal CI tooling label Feb 16, 2026
@shaanmajid
Copy link
Contributor Author

Rebased onto latest main to resolve a merge conflict. No rush, but ready for review whenever you get a chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants