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 aed2975 commit c353b3f
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 @@ -30,4 +30,10 @@ for i in "$@" ; do
clone "$SOURCE" "$VERSION" "$QUAY_TARGET" true
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 c353b3f

Please sign in to comment.