Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Commit

Permalink
Remove wrong image if necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Dec 7, 2017
1 parent 0d84063 commit cca45dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies:

# Build the container, using Circle's Docker cache. Only use 1 image per
# day to keep the cache size down.
- I="image-$(date +%j).gz"; if [[ -e ~/docker/$I ]]; then echo "Loading $I"; pigz -d -c ~/docker/$I | docker load; fi
- I="image-$(date +%j).gz"; if [ -e "~/docker/$I" ]; then echo "Loading $I"; pigz -d -c "~/docker/$I" | docker load || rm -f "~/docker/$I"; fi

# create a version.json
- >
Expand Down

0 comments on commit cca45dc

Please sign in to comment.