-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Handle external pull requests wrt. OCI image build + push well #947
Comments
Hi Nico,
I've tried it on two other spots already, but haven't been successful so far.
With kind regards, |
@gutzbenj said at #945 (comment):
|
It does not happen so often, but it's true. I wonder how others are handling this. One idea: Build up an allow-list of contributors who have the corresponding permissions, and add a condition to the build+push workflow step to run only if the contribution is coming from someone who is member of this allow-list, and skip it for all others? The good thing with our OCI building workflow recipes is that the |
I think the allow list wouldn't work because there's no way to leak our GCR secret to someone. This is simply not the idea organization secrets. |
I don't understand this comment about the GCR secret and the organization secrets. Can you clarify? My proposal was to only run the build&upload job based on an allow-list, so that it would only run when the patch originates from some of us who have the permissions, and skip it for all others. Do you have a different solution in mind? We can also ask GitHub support for help, if we can't discover how others are doing it. |
Sorry for the late response: This was fixed with
Same for the full version |
Hi there,
at #945 (comment), @neumann-nico is reporting upon a minor but not unimportant quirk with the CI setup.
The problem is that external contributors, including Dependabot, does not have the permissions to push to GHCR, the OCI image registry of GitHub.
Instead of discussing on a pull request, let's discuss here.
With kind regards,
Andreas.
The text was updated successfully, but these errors were encountered: