Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sharknoon authored May 8, 2024
1 parent da56360 commit 76739b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Delete old image versions
uses: actions/delete-package-versions@v5
uses: snok/container-retention-policy@v2
with:
package-type: "container"
package-name: ${{ github.event.repository.name }}
min-versions-to-keep: 3
image-names: ${{ github.event.repository.name }}
cut-off: one hour ago UTC
account-type: personal
token: ${{ secrets.GITHUB_TOKEN }}
token-type: github-token

0 comments on commit 76739b3

Please sign in to comment.