Replies: 1 comment
-
can you run afaik it will always query for the digest even when using the same tag, |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi, I'm trying to set up automatic deployment from GitHub Actions with zero downtime.
Following the Going Production guide, I build my docker image in a GitHub Action, push it to a registry and then trigger a deployment by calling the api at
/api/compose.deploy
(updated since I'm using Compose instead of Application).I have the automatic deployment working with a Compose service but from this comment I understand that zero downtime is not possible with Compose so I'm now trying to switch to Swarm/Stack. The problem is that while I can trigger a redeployment from a GitHub Action, it doesn't pull the latest image so it ends up redeploying the previous version.
My compose file looks like this:
For
Compose
I was able to force pulling the latest image every time by addingpull_policy: always
to the service definition but this is not supported for Docker Stack.Is there something I'm missing here or is this workflow not supported?
Beta Was this translation helpful? Give feedback.
All reactions