Skip to content

Commit

Permalink
ci: Add image pruning step to deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Feb 26, 2024
1 parent 1c56f34 commit a6b2f01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
run: podman-compose -f docker-compose-deploy.yml build
- name: Deploy Podman images
run: podman-compose -f docker-compose-deploy.yml up -d --force-recreate
- name: Prune old images
run: podman image prune -a -f
- name: Check Podman images
run: podman-compose -f docker-compose-deploy.yml ps
- name: Check logs
Expand Down Expand Up @@ -121,6 +123,8 @@ jobs:
run: podman-compose -f docker-compose-deploy.yml build
- name: Deploy Podman images
run: podman-compose -f docker-compose-deploy.yml up -d --force-recreate
- name: Prune old images
run: podman image prune -a -f
- name: Check Podman images
run: podman-compose -f docker-compose-deploy.yml ps
- name: Check logs
Expand Down

0 comments on commit a6b2f01

Please sign in to comment.