Delete untagged packages after build and push (#55)
This commit is contained in:
7
.github/workflows/containers.yml
vendored
7
.github/workflows/containers.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user