actions / publish-immutable-action

A GitHub Action used for publishing an Action to ghcr.io as an OCI container.
MIT License
42 stars 7 forks source link

Upload attestations to GHCR instead of Attestations API #179

Closed conorsloan closed 3 months ago

conorsloan commented 3 months ago

This change includes a number of updates to the action in order to pivot from uploading attestations to the Attestations API to our own package in GHCR. This allows the attestation to sit alongside the actual artifact, which simplifies access flows.

This means:

A few other changes were made as I was updating this, including:

We should consider adding more integrity checks for things like the correct SHAs being in the correct places, but since this is all one small project and we create all the things in oci-container.ts, we can be assured it hasn't changed after its creation.