Is there a way to skip pull on deploy (after build deliver) #1698
Unanswered
shichongrui
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have several Kamal apps that I deploy together. I am splitting the build and deploy steps for a few reasons:
I'm using the
kamal build delivercommand during the build andkamal deploy --skip-pushon the deploy steps. I thought that with--skip-push, if the image was already on the host, it would just bring up a container from the new image, and swap over to it. But this step took longer than I expected and when I looked I saw that it was removing the image and re-pulling it.It's not a huge deal but because I'm running
kamal build deliverbefore hand, I don't need it to pull again. I can't find any flags for thedeploycommand to prevent it from pulling again but figured I'd ask in case someone knows something. Or perhaps there is a combination of other commands I could run that would have the same effect?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions