Remove untagged images #90
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
# When we push a new SNAPSHOT image, the old SNAPSHOT image remains as an untagged | |
# image in GitHub Packages. We remove those untagged images by using this workflow. | |
name: Remove untagged images | |
on: | |
schedule: | |
# UTC | |
- cron: '0 3 * * 1' | |
workflow_dispatch: | |
jobs: | |
remove-untagged-container-images: | |
runs-on: ubuntu-latest | |
steps: | |
- name: scalardb-server | |
uses: camargo/delete-untagged-action@v1 | |
with: | |
github-token: ${{ secrets.CR_PAT }} | |
package-name: scalardb-server | |
- name: scalardb-schema-loader | |
uses: camargo/delete-untagged-action@v1 | |
with: | |
github-token: ${{ secrets.CR_PAT }} | |
package-name: scalardb-schema-loader |