Skip to content

Commit

Permalink
Add image pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Aug 30, 2023
1 parent 10a33f4 commit edd020e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/announce-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,19 @@ jobs:
env:
GIT_USER_NAME: "Ponylang Main Bot"
GIT_USER_EMAIL: "[email protected]"

prune-untagged-images:
needs:
- announce

name: Prune untagged images
runs-on: ubuntu-latest
steps:
- name: Prune
# v4.1.1
uses: actions/delete-package-versions@0d39a63126868f5eefaa47169615edd3c0f61e20
with:
package-name: 'release-bot-action'
package-type: 'container'
min-versions-to-keep: 1
delete-only-untagged-versions: 'true'

0 comments on commit edd020e

Please sign in to comment.