Skip to content

Commit

Permalink
fix: Start Docker service before loading image using interactive load
Browse files Browse the repository at this point in the history
  • Loading branch information
aridanemartin committed Jun 29, 2024
1 parent 68b6133 commit 0682580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
key: ${{ secrets.EC2_KEY }}
script: |
sudo systemctl status docker || sudo systemctl start docker
docker load -i < ~/gatos-sin-hogar-backend.tar
docker load --input ~/gatos-sin-hogar-backend.tar
docker stop gatos-sin-hogar-backend || true
docker rm gatos-sin-hogar-backend || true
docker run -d --name gatos-sin-hogar-backend -p 80:7000 gatos-sin-hogar-backend

0 comments on commit 0682580

Please sign in to comment.