From 7e3353efebe9692a221d16e1d053f8527e379cf3 Mon Sep 17 00:00:00 2001 From: Benson Wong Date: Tue, 18 Feb 2025 10:08:41 -0800 Subject: [PATCH] add action step to remove untagged containers --- .github/workflows/containers.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index fccee6d..f0c202b 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -31,4 +31,10 @@ jobs: - name: Run build-container env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./docker/build-container.sh ${{ matrix.platform }} true \ No newline at end of file + run: ./docker/build-container.sh ${{ matrix.platform }} true + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'llama-swap' + package-type: 'container' + delete-only-untagged-versions: 'true' \ No newline at end of file