From f25e538523ea01c9327f21486bc714a8eaacb823 Mon Sep 17 00:00:00 2001 From: Matthias Neugebauer Date: Fri, 12 Jul 2024 11:39:33 +0200 Subject: [PATCH] Tmp remove cleanup --- .github/workflows/container-images.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/container-images.yml b/.github/workflows/container-images.yml index ca48009..ae3dbec 100644 --- a/.github/workflows/container-images.yml +++ b/.github/workflows/container-images.yml @@ -69,21 +69,3 @@ jobs: VERSION=${{ steps.info.outputs.VERSION }} \ IMAGE_PLATFORMS=${{ env.IMAGE_PLATFORMS }} \ BUILDX_OUTPUT="${BUILDX_OUTPUT}" - - - name: fetch container image shas - id: container-image - run: | - shas=$(docker manifest inspect ghcr.io/nagare-media/engine/${{ matrix.image }}:${{ steps.info.outputs.VERSION }} | jq -r '.manifests.[] | .digest' | paste -s -d ' ' -) - echo "SHAS=$shas" >> $GITHUB_OUTPUT - - - name: delete untagged container images - uses: snok/container-retention-policy@v3.0.0 - if: ${{ github.event_name == 'push' }} - with: - account: nagare-media - token: ${{ secrets.GITHUB_TOKEN }} - tag-selection: untagged - image-names: engine/${{ matrix.image }} - image-tags: ${{ steps.info.outputs.VERSION }} - skip-shas: ${{ steps.container-image.outputs.SHAS }} - cut-off: 0s