redhat-actions / push-to-registry

GitHub Action to push a container image to an image registry.
https://github.com/marketplace/actions/push-to-registry
MIT License
97 stars 32 forks source link

Add support for signing with Sigstore #90

Open travier opened 10 months ago

travier commented 10 months ago

Description

Add support for signing with Sigstore

Related Issue(s)

Fixes: https://github.com/redhat-actions/push-to-registry/issues/89

Checklist

Changes made

README: Fix Markdown lints and typos


Add support for signing with Sigstore

Fixes: https://github.com/redhat-actions/push-to-registry/issues/89


Update node dependencies: npm audit fix --force


Update bundle: rpm run bundle

travier commented 10 months ago

I'm currently testing this change in this repo: https://github.com/travier/cosign-test

This needs a newer podman version than the one currently available in Ubuntu 22.04 (ubuntu-latest), thus I'm installing it from https://podman.io/docs/installation#ubuntu

travier commented 10 months ago
Error: initializing private key: decrypt: encrypted: unexpected kdf parameters

🤔

Filed as https://github.com/containers/podman/issues/20771.

travier commented 10 months ago

I now have a working setup with https://github.com/travier/podman-action & https://github.com/travier/cosign-test which works with this PR.

Example multi-arch, podman signed build in https://github.com/travier/cosign-test/blob/main/.github/workflows/nginx.yml.

travier commented 2 months ago

This should work once the Ubuntu 24.04 runner images become the default.