Merge pull request #9384 from rouault/fix_9382 #2
This file contains 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 untagged containers | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
branches-ignore: | |
- 'backport**' | |
permissions: | |
contents: read | |
jobs: | |
delete-untagged-containers: | |
name: Delete all containers from gdal-deps without tags | |
runs-on: ubuntu-latest | |
if: github.repository == 'OSGeo/gdal' | |
steps: | |
- name: Delete all containers from gdal-deps without tags | |
uses: Chizkiyahu/delete-untagged-ghcr-action@bbbab219998078a91c9b283dac9389b825894603 # v3.2.0 | |
with: | |
token: ${{ secrets.PAT_TOKEN_DELETE_UNTAGGED_CONTAINERS }} | |
repository_owner: ${{ github.repository_owner }} | |
repository: ${{ github.repository }} | |
package_name: gdal-deps | |
untagged_only: true | |
owner_type: org |