Skip to content

Commit 2937ec2

Browse files
committed
chore(deploy-pre): Adapt commands to docker compose v2
1 parent 7167e6a commit 2937ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-pre.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
cd /opt/api-gateway
3939
4040
# Stop and remove old services
41-
docker-compose down || true
41+
docker compose down || true
4242
4343
# Load the new Docker image
4444
gunzip -c api-gateway.tar.gz | docker load
4545
4646
# Start the service with the new image
47-
docker-compose up -d
47+
docker compose up -d

0 commit comments

Comments
 (0)