Skip to content

Commit

Permalink
fix(actions): move docker image prune to end
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 16, 2024
1 parent 41e171f commit 7729199
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 @@ -33,7 +33,6 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
sudo docker image prune
sudo docker pull ${{ vars.DOCKER_REPO }}/bolhadev-chat:latest
sudo docker pull ${{ vars.DOCKER_REPO }}/bolhadev-nginx:latest
sudo docker stop bolhadev-nginx || true
Expand All @@ -48,3 +47,4 @@ jobs:
-v /etc/letsencrypt/ssl/privkey.pem:/etc/nginx/ssl/privkey.pem \
--network internal \
${{ vars.DOCKER_REPO }}/bolhadev-nginx:latest
sudo docker image prune

0 comments on commit 7729199

Please sign in to comment.