Skip to content

Commit b1687b0

Browse files
committed
ci: rebuild on quays image miss
1 parent 10baff7 commit b1687b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/try-pull-docker-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Trying to pull cached image: ${1}" > /dev/stderr
44
if ! PULL_ERR="$(docker pull "${1}" 2>&1 >/dev/null)"; then
5-
if echo "${PULL_ERR}" | grep -q "unknown"; then
5+
if echo "${PULL_ERR}" | grep -qE "(unknown|not found)"; then
66
echo "Cached image: ${1} was not present" > /dev/stderr
77
exit 2
88
else

0 commit comments

Comments
 (0)