This commit is contained in:
@@ -117,11 +117,13 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo '=== Pulling latest image ==='
|
echo '=== Pulling latest image ==='
|
||||||
|
# Explicitly pull the image to ensure we get the latest version
|
||||||
|
docker pull registry.infra.mintel.me/mintel/klz-cables.com:latest
|
||||||
docker compose pull
|
docker compose pull
|
||||||
|
|
||||||
echo '=== Restarting containers ==='
|
echo '=== Restarting containers ==='
|
||||||
docker compose down
|
# Use --force-recreate to ensure containers are updated even if compose thinks they are up to date
|
||||||
docker compose up -d
|
docker compose up -d --force-recreate --remove-orphans
|
||||||
|
|
||||||
echo '=== Waiting for containers (30s) ==='
|
echo '=== Waiting for containers (30s) ==='
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|||||||
Reference in New Issue
Block a user