From ebabe55ff31b6411313b5c69a234bb96ce4d77c6 Mon Sep 17 00:00:00 2001 From: Benson Wong Date: Tue, 18 Feb 2025 10:32:32 -0800 Subject: [PATCH] Delete untagged packages after build and push (#55) --- .github/workflows/containers.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index fb86631..b3db047 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -15,8 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - platform: [intel, cuda, vulkan, cpu] - #platform: [intel, cuda, vulkan, musa] + platform: [intel, cuda, vulkan, cpu, musa] steps: - name: Checkout code uses: actions/checkout@v4 @@ -33,6 +32,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: ./docker/build-container.sh ${{ matrix.platform }} true + # note make sure mostlygeek/llama-swap has admin rights to the llama-swap package + # see: https://github.com/actions/delete-package-versions/issues/74 delete-untagged-containers: needs: build-and-push runs-on: ubuntu-latest @@ -41,4 +42,4 @@ jobs: with: package-name: 'llama-swap' package-type: 'container' - delete-only-untagged-versions: 'true' \ No newline at end of file + delete-only-untagged-versions: 'true'