We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2657de commit 1898c6aCopy full SHA for 1898c6a
1 file changed
.github/workflows/release.yml
@@ -273,8 +273,11 @@ jobs:
273
echo "Pulling new image..."
274
sudo docker compose -f compose.prod.yml pull
275
276
- # Restart with new image
277
- echo "Restarting container..."
+ # Stop and remove existing container, then start fresh
+ echo "Stopping existing container..."
278
+ sudo docker compose -f compose.prod.yml down --remove-orphans || true
279
+
280
+ echo "Starting new container..."
281
sudo docker compose -f compose.prod.yml up -d
282
283
# Wait for container to be healthy
0 commit comments