Skip to content

Commit

Permalink
try deleting images another way
Browse files Browse the repository at this point in the history
  • Loading branch information
cisaacstern committed Nov 22, 2023
1 parent 6295c6f commit 36d61d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/push-image.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Adapted from:
# https://dev.to/willvelida/pushing-container-images-to-github-container-registry-with-github-actions-1m6b

name: Deploy Images to GHCR

env:
Expand Down Expand Up @@ -36,5 +39,5 @@ jobs:
- name: 'Pull Image (as test)' # TODO: remove
run: |
docker rmi ghcr.io/${{ env.ORG }}/deploy-recipe-action:${{ env.TAG }}
docker rmi -f $(docker images -aq)
docker pull ghcr.io/${{ env.ORG }}/deploy-recipe-action:${{ env.TAG }}

0 comments on commit 36d61d3

Please sign in to comment.