From ca6ac849d889078b9a5cd97726fc910fa7a5f1ff Mon Sep 17 00:00:00 2001 From: martintomas Date: Thu, 19 Oct 2023 14:34:53 +0200 Subject: [PATCH] feat: Use custom action to remove obsolete docker images --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7822dd8..586f192 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -54,7 +54,7 @@ jobs: run: docker push $IMAGE_REGISTRY/$IMAGE_NAME:$GITHUB_SHA - name: Remove old images from Container Registry - uses: ripplr-io/docr-image-remove@v1 + uses: martintomas/docr-image-remove@v1 with: image_repository: ${{ env.PROJECT_NAME }}-${{ steps.extract_branch.outputs.branch == 'main' && 'production' || 'staging' }}-client buffer_size: 5 @@ -98,7 +98,7 @@ jobs: run: docker push $IMAGE_REGISTRY/$IMAGE_NAME:$GITHUB_SHA - name: Remove old images from Container Registry - uses: ripplr-io/docr-image-remove@v1 + uses: martintomas/docr-image-remove@v1 with: image_repository: ${{ env.PROJECT_NAME }}-${{ steps.extract_branch.outputs.branch == 'main' && 'production' || 'staging' }}-cms buffer_size: 5