Delete untagged packages after build and push (#55)

This commit is contained in:
Benson Wong
2025-02-18 10:32:32 -08:00
committed by GitHub
parent 41a338297c
commit ebabe55ff3

View File

@@ -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'
delete-only-untagged-versions: 'true'