Skip to content

Commit

Permalink
Merge pull request #412 from rh-ecosystem-edge/feature-podman-houseke…
Browse files Browse the repository at this point in the history
…eping
  • Loading branch information
iranzo authored Jun 15, 2022
2 parents 8fa5a19 + a293bed commit a7540ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ jobs:
with:
fetch-depth: 0

- name: Housekeeping clean old podman resources
continue-on-error: true
id: housekeeping
run: |
DATE=$(date --date="21 days ago" + "%Y-%m-%d")
podman rm --force $(podman ps -a -q --filter until=$DATE)
podman rmi --force $(podman images -a -q --filter until=${DATE})
- name: Login to Quay
env:
QUAY_USER: ${{ secrets.QUAY_ROBOT_USER }}
Expand Down

0 comments on commit a7540ed

Please sign in to comment.