-
Notifications
You must be signed in to change notification settings - Fork 564
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
Allow signing local image without registry access #3832
Comments
This would be very useful with right now the workflow is
which requires a temporary registry to get a offline bundle which is a lot of network activity and extra time. |
@slimm609 I didn't have time to work on this properly in the past 2 months, but I have some free time on my hands right now, so I'm going to revamp the PR that I submitted and try to make sure that your scenario is accounted for. |
@slimm609 after a lot of research I realized that your usecase would need to go through a completely different code path, so I didn't fix that in the PR that I submitted. However, your usecase actually makes a lot of sense I think, as it would actually be better to just save the bundle instead of producing a set of disconnected files (certificate, payload and signature). Once this issue is resolved, I would definitely like to work on that usecase as well (I'll open a new issue for it later), but I need to finish this up first to have at least something working. |
Description
Hi 👋
I want to sign a local image that hasn't yet been uploaded to a registry (or the registry is not reachable right now) with
--upload=false --output-signature=signature.sig --output-certificate=certificate.crt
. Right now this fails with:I think this should work, because to generate these artifacts locally we don't need to access the registry.
I have a simple change that I tested locally that I could submit as a PR if you folks think that this makes sense - please let me know. Thank you!
The text was updated successfully, but these errors were encountered: