Skip to content

Commit

Permalink
Add clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Aug 4, 2023
1 parent 8609322 commit b050f53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/fiware/image-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ for i in "$@" ; do
fi
echo ""
done

for i in "$@" ; do
if [[ $i == "clean" ]]; then
docker rmi -f $(docker images -a -q) | true
fi
done

0 comments on commit b050f53

Please sign in to comment.