mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
Skip deleted Dockerfiles from test suite (#157)
This fixes the build process which is currently failing due to the rename of `visualstudio/Dockerfile' to `vscode/Dockerfile'. See https://travis-ci.org/jfrazelle/dockerfiles/builds/140218033
This commit is contained in:
parent
2775f5cb90
commit
697ff3e3c9
4
test.sh
4
test.sh
|
@ -28,6 +28,10 @@ unset IFS
|
||||||
|
|
||||||
# build the changed dockerfiles
|
# build the changed dockerfiles
|
||||||
for f in "${files[@]}"; do
|
for f in "${files[@]}"; do
|
||||||
|
if ! [[ -e "$f" ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
image=${f%Dockerfile}
|
image=${f%Dockerfile}
|
||||||
base=${image%%\/*}
|
base=${image%%\/*}
|
||||||
suite=${image##*\/}
|
suite=${image##*\/}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user