Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign release images #468

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

komish
Copy link
Contributor

@komish komish commented Aug 15, 2024

This PR will run Cosign in keyless mode to sign our tagged images (which are associated with the release process). Note that this is not the latest cosign Y-stream version, but is the same version we use in other places and know to work how we expect.

This PR adds an additional GitHub Secret secrets.IMAGE_REGISTRY and replaces hard-coded references to the same value. The secret is already configured for the repository. I've also moved the image name to an environment variable in-file. The combination of these changes makes it so you can more easily test this task in a fork (by setting your own secrets).

In addition, this PR will change our strategy for managing the latest tag. The previous implementation would simply call podman build twice and push the results. They would end up with different digests. Instead, we call it once, and tag latest once the versioned image is built. That way, when pushed, they will be linked.

Signed-off-by: Jose R. Gonzalez <komish@flutes.dev>
@komish komish requested review from mgoerens and jsm84 August 15, 2024 19:54
Copy link

@jsm84 jsm84 left a comment

Choose a reason for hiding this comment

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

/lgtm

@komish komish merged commit c61501c into redhat-certification:main Aug 16, 2024
5 checks passed
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.

2 participants