Skip to content

Commit

Permalink
feat: Use custom action to remove obsolete docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Oct 19, 2023
1 parent 8bd9fbb commit ca6ac84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca6ac84

Please sign in to comment.