Skip to content

Commit

Permalink
Exclude docker-stack-await image from docker prune
Browse files Browse the repository at this point in the history
The image gets cleaned away after each run, which causes a lot of unnecessary pulls.
  • Loading branch information
andyundso committed Apr 17, 2024
1 parent 946cacb commit 0bc94ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ jobs:
exit 1
fi
shell: bash

- name: Check that docker-stack-wait image is still there
run: |
ssh -p 2222 [email protected] docker image inspect sudobmitch/docker-stack-wait:v0.2.5
shell: bash
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ runs:

- name: Cleaning up
run: |
docker system prune -af
docker system prune -af --filter 'label!=org.opencontainers.image.source=git://github.com/sudo-bmitch/docker-stack-wait.git' --filter 'label!=org.opencontainers.image.version=v0.2.5'
docker context remove --force target
shell: bash

Expand Down

0 comments on commit 0bc94ce

Please sign in to comment.