Delete Old Docker Image #11
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Delete Old Docker Image | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| cleanup-pg: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cleanup Docker images from GHCR | |
| uses: dataaxiom/ghcr-cleanup-action@v1 | |
| with: | |
| token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| owner: multi-repo | |
| repository: postgres | |
| keep-n-tagged: 1 | |
| package: postgres/pg | |
| dry-run: false |