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

[2.9] ci: Make release SLSA compliant #797

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

yiannistri
Copy link
Contributor

@yiannistri yiannistri commented Jan 13, 2025

(cherry picked from commit 3d9dd16)

What this PR does / why we need it:

This PR changes the build process to be self-contained: it no longer requires the application to be build outside the container and relying on go version in the CI runner, instead the build is done in a build layer.

It also updates the release workflow to additionally push images to Prime Registry.

Finally it uses cross-compilation helpers to invoke the Go compiler with the correct env vars for the target platform.

Which issue(s) this PR fixes
Issue #794

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests
  • backport needed

(cherry picked from commit 3d9dd16)
@yiannistri yiannistri marked this pull request as ready for review January 13, 2025 14:25
@yiannistri yiannistri requested a review from a team as a code owner January 13, 2025 14:25
@yiannistri yiannistri merged commit 3e86f65 into rancher:release-v2.9 Jan 13, 2025
6 checks passed
@yiannistri yiannistri deleted the slsa-release-v2.9 branch January 13, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants