Skip to content

fix(ansible): always deploy with --resolve-image always

Jérôme Revillard requested to merge fix/resolve-image-always into main

Docker Swarm must always re-deploy the stack — image digests can change without compose config changes when floating tags like :main or :release-el-salvador are updated by CI.

Three changes:

  • Add --resolve-image always to docker stack deploy — forces re-pull even when tag already exists locally
  • Remove when: COMPOSE_CHANGED gate on stack deploy — deploy must always run
  • Set _compose_changed: true — post-deploy verification always runs
Edited by Jérôme Revillard

Merge request reports

Loading