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
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [intel, cuda, vulkan, cpu]
|
platform: [intel, cuda, vulkan, cpu, musa]
|
||||||
#platform: [intel, cuda, vulkan, musa]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -33,6 +32,8 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: ./docker/build-container.sh ${{ matrix.platform }} true
|
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:
|
delete-untagged-containers:
|
||||||
needs: build-and-push
|
needs: build-and-push
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -41,4 +42,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
package-name: 'llama-swap'
|
package-name: 'llama-swap'
|
||||||
package-type: 'container'
|
package-type: 'container'
|
||||||
delete-only-untagged-versions: 'true'
|
delete-only-untagged-versions: 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user