We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10baff7 commit 36639c3Copy full SHA for 36639c3
build/try-pull-docker-image.sh
@@ -2,7 +2,7 @@
2
3
echo "Trying to pull cached image: ${1}" > /dev/stderr
4
if ! PULL_ERR="$(docker pull "${1}" 2>&1 >/dev/null)"; then
5
- if echo "${PULL_ERR}" | grep -q "unknown"; then
+ if echo "${PULL_ERR}" | grep -qE "(unknown|not found)"; then
6
echo "Cached image: ${1} was not present" > /dev/stderr
7
exit 2
8
else
0 commit comments