We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c648fa5 commit 915c871Copy full SHA for 915c871
.github/workflows/deploy-pre.yml
@@ -44,13 +44,14 @@ jobs:
44
45
# Navigate to deployment directory
46
cd /opt/summoners-sync/api-gateway
47
-
48
- # Load the Docker image
49
- docker load < api-gateway.tar.gz
50
+
51
# Stop and remove existing container if it exists
52
docker stop api-gateway || true
53
docker rm api-gateway || true
+ docker rmi api-gateway || true
+ # Load the Docker image
54
+ docker load < api-gateway.tar.gz
55
56
# Run the new container
57
docker run -d --name api-gateway --restart always api-gateway:latest
0 commit comments