Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
ci: Removes dangling images (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm authored Nov 1, 2023
1 parent 2ccd9b7 commit 9852d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ jobs:
key: ${{ secrets.SSH_DEPLOY_DEV }}
script: |
docker pull quackai/contribution-api:latest
docker rmi -f $(docker images -f "dangling=true" -q)
cd devops && docker compose stop backend && docker compose up -d
docker inspect -f '{{ .Created }}' $(docker compose images -q backend)

0 comments on commit 9852d78

Please sign in to comment.