Skip to content

Commit

Permalink
chore(server): docker prune old images
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 15, 2024
1 parent 2a435b4 commit f13c9fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
sudo docker image prune
sudo docker pull ${{ vars.DOCKER_REPO }}:latest
sudo docker stop ${{ vars.PROJECT}} || true
sudo docker rm ${{ vars.PROJECT}} || true
Expand Down

0 comments on commit f13c9fc

Please sign in to comment.