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 40f698c commit ea7f725
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Delete old package versions
# https://github.com/actions/delete-package-versions
- name: Delete old package versions
uses: actions/delete-package-versions@v5
with:
package-name: 'hikka-next'
package-type: 'container'

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand Down

0 comments on commit ea7f725

Please sign in to comment.