Is there a way to run Pull Request builds?
Sort of like how bluefin does it, where uploads and signing are disabled, but everything else runs
14 Replies
I think they are already enabled, along with normal builds. They are tagged
pr-
somethingIf you're looking for a way to do just the build without pushing the image, you're probably going to have to create your own step to do that. Currently, our GitLab action always passes the --push option.
ahh, got it. so i can do it with the cli but not with the action as-is
let me see
Correct
so i need to drop --push and then is there a quick way to disable signing too?
can i just drop COSIGN_PRIVATE_KEY or will that make it fail
hmm that'll probably make it fail
let me read the docs
I don't think we check for the key if you don't have push enabled.
oh sweet
let me give it a spin
@gmpinder looks like it's working 🙂
question though out of curiosity, where is the "image destination" in this case? since it's not being pushed anywhere
It's just stored in the builder as cache
ah cool
Well, it's in the builder when you're using Docker. If you're using Podman, it's actually tagged in the local image registry
got it, cool
Solution
this is big 😄
Oh wait no, I'm dumb. With Docker it will load the image from the builder into the Docker local image registry as well