From ea7f725b01a92224f994c7a17e1c86c019a1207a Mon Sep 17 00:00:00 2001 From: olexh Date: Tue, 6 Aug 2024 16:48:40 +0300 Subject: [PATCH] chore: delete old package versions in workflow --- .github/workflows/docker-publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 34bae709..89ae47c8 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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