We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7114b04 commit 392851bCopy full SHA for 392851b
2 files changed
scripts/git-has-changes.sh
@@ -1,5 +1,5 @@
1
#!/usr/bin/env sh
2
3
-if git status --porcelain --untracked-files=no; then
+if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
4
exit 1
5
fi
scripts/test-all-images.sh scripts/test-cli-images.shscripts/test-all-images.sh renamed to scripts/test-cli-images.sh
@@ -32,15 +32,9 @@ for i in ./build/*/; do
32
docker run \
33
--volume ./scripts/test-xdebug-install.php:/app/test-xdebug-install.php \
34
--workdir /app \
35
- $image
+ --entrypoint php \
36
+ "${image}" test-xdebug-install.php
37
-
38
- # Builds image and check for return code
39
- if docker build --pull -t "${image}" "./build/${version}"; then
40
- build_done+=( "${image}" )
41
- else
42
- echo "${text_bold}${text_red}* ERROR when building ${image} ${text_normal}"
43
- build_failed+=( "${image}" )
44
- fi
+ exit 0
45
done
46
0 commit comments