File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ jobs:
103103 echo "Deploying version: $IMG_TAG"
104104
105105 echo "🔄 Pulling new image and restarting app container..."
106- IMG_TAG=$IMG_TAG docker compose pull api
107- IMG_TAG=$IMG_TAG docker compose up -d api
106+ IMG_TAG=$IMG_TAG docker compose pull api api-local
107+ IMG_TAG=$IMG_TAG docker compose up -d api api-local
108108
109109 echo "⏳ Waiting for health check..."
110110 sleep 10
@@ -116,7 +116,7 @@ jobs:
116116 else
117117 echo "❌ Health check failed (HTTP $HTTP_CODE)! Rolling back app container..."
118118 if [ "$CURRENT_TAG" != "unknown" ]; then
119- IMG_TAG=$CURRENT_TAG docker compose up -d api
119+ IMG_TAG=$CURRENT_TAG docker compose up -d api api-local
120120 echo "🔙 Rolled back to $CURRENT_TAG"
121121 fi
122122 exit 1
You can’t perform that action at this time.
0 commit comments