From 7a47a50c0f104a4fa51d0a5170cf7ce9d9e9a408 Mon Sep 17 00:00:00 2001 From: Joe George Date: Wed, 30 Sep 2026 11:34:58 -0400 Subject: [PATCH] Tag only latest and drop the image cleanup --- .github/workflows/ci.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04a7cd2..4b4a1d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,6 @@ jobs: push: ${{ github.event_name != 'pull_request' && github.repository == 'icerpc/hello' }} tags: | icerpc/hello:latest - ghcr.io/icerpc/hello:${{ github.sha }} ghcr.io/icerpc/hello:latest cache-from: type=gha cache-to: type=gha,mode=max @@ -82,17 +81,3 @@ jobs: docker compose pull hello-icerpc docker compose up -d hello-icerpc docker system prune -f - - cleanup: - name: Cleanup old images - needs: image - if: github.event_name != 'pull_request' && github.repository == 'icerpc/hello' - runs-on: ubuntu-latest - - steps: - - name: Delete old container images (keep the 10 most recent) - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0 - with: - package-name: hello - package-type: container - min-versions-to-keep: 10