try fix incomplete export making temporary file not collected #77
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: 'clean-packages' | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: 'Remove old untagged containers' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Build checkout' | |
uses: actions/checkout@v4 | |
- name: Login to github registery | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: 'salimkanoun' | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/delete-package-versions@v5 | |
with: | |
package-name: 'gaelo' | |
package-type: 'container' | |
min-versions-to-keep: 10 | |
delete-only-untagged-versions: 'true' | |
permissions: | |
contents: read | |
packages: write |