-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Consolidate PR and real release workflows #1845
Conversation
- push and sign an image tagged for every push to the repo (e.g., merged PRs) - push and sign for tag pushes, with release tags - build but don't push for opened PRs WIP because I need to test more with the tag flow, but pushes worked in my fork.
# https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we avoid the cache on releases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That feels a bit overly paranoid, but sure. Is there some public guidance around building release without caches that I can link to in a comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s a strict interpretation of some of the higher SLSA levels, and one build being able to influence others.
one small bug and a nit, but otherwise LGTM |
I can't check the reviewer boxes, since I'm not a maintainer, so cc @priyawadhwa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!!
* WIP: consolidate PR and real release workflows - push and sign an image tagged for every push to the repo (e.g., merged PRs) - push and sign for tag pushes, with release tags - build but don't push for opened PRs WIP because I need to test more with the tag flow, but pushes worked in my fork. * apply release tags, uncomment kms stuff * Tag images correctly during releases * review feedback
Description
WIP because I'm pushing to GHCR to test for now.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
Release Notes
cc @mattmoor @priyawadhwa