Pull newest docker images with deployments over API #7498
valentinschabschneider
started this conversation in
Improvement Requests
Replies: 1 comment 3 replies
-
|
just add |
Beta Was this translation helpful? Give feedback.
3 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.
-
Our current deployment workflow for our test server looks like this:
latestdocker image/api/v1/deploy?uuid=<id>from the pipelinePer default Coolify does not pull already existing images. To work around that we added a custom build Command
docker compose -f ./web/docker-compose.coolify.yml pullthat forces the deployment to pull the newlatestimage. This approach broke after versionv4.0.0-beta.452since it always adds--build-argvariables.For now our workaround is setting the following build command:
docker compose -f ./web/docker-compose.coolify.yml pull && docker compose -f ./web/docker-compose.coolify.yml build --helpIMO this is stupid. So my question is: Is there a better approach to this?
And if there is none, my suggestion would be to have a flag in the "advanced" configuration to execute a pull for every deployment.
Beta Was this translation helpful? Give feedback.
All reactions