Skip to content

Commit

Permalink
Clean up old images after a build (dry-run)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann authored Dec 28, 2024
1 parent e72fe4b commit 7faf979
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,11 @@ jobs:
build-args: |
version=${{ matrix.version }}
context: "{{defaultContext}}:postgres"
cleanup:
runs-on: ubuntu-latest
needs: [ 'perl', 'postgres' ]
steps:
- name: ghcr.io cleanup action
uses: dataaxiom/ghcr-cleanup-action@v1
with:
dry-run: true

0 comments on commit 7faf979

Please sign in to comment.