ko
ko copied to clipboard
Check for push permissions before building
If I'm ko publish
ing to a registry/repository that I don't have push permissions to (typo, misconfigured auth, incorrect active gcloud
user), ko
can check that and fail before building, using ggcr's CheckPushPermission
.
That has a TODO
(https://github.com/google/go-containerregistry/issues/412) to make it unnecessary, but I think this is actually a case where it's useful, since it can avoid work and save time before remote.Write
ing.
This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.
I still want this.
this'd be so cool!