-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ci/static-checks: use oras cache for regorus #11424
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
ci/static-checks: use oras cache for regorus #11424
Conversation
This simplifies executing the workflow on a fork during testing. Signed-off-by: Paul Meyer <katexochen0@gmail.com>
Could someone with permission please set the visibility of the pushed image to public? |
Fails with
I think we have to push the image once manually, then give the repository access to it: https://github.com/orgs/community/discussions/57724#discussioncomment-11598742 Image is
No need to push the actual binary by hand, just retag an available image and push that. |
6558988
to
064783b
Compare
Looks like the execute bit is missing - probably only on cache hit? |
Instead of building it every time, we can store the regorus binary in OCI registry using oras and download it from there. This reduces the install time from ~1m40s to ~15s. Signed-off-by: Paul Meyer <katexochen0@gmail.com>
212d2c3
to
43739ce
Compare
added a step to make it executable |
Instead of building it every time, we can store the regorus
binary in OCI registry using oras and download it from there.
This reduces the install time from ~1m40s to ~15s.