Skip to content

Commit

Permalink
chore: delete old package versions in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Aug 6, 2024
1 parent 1c9b3b7 commit c259d38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ jobs:
- name: Delete old package versions
uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: ${{ env.IMAGE_NAME }}
package-type: 'container'
token: ${{ github.token }}
num-old-versions-to-delete: 3

# Extract metadata (tags, labels) for Docker
Expand Down

0 comments on commit c259d38

Please sign in to comment.