Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c18653c

Browse files
committed
Handle missing image
1 parent ae82cf8 commit c18653c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
exit 1
104104
fi
105105
docker pull $SOURCE_IMAGE:$tag
106-
docker pull $IMAGE_NAME:$tag || exit 0
106+
docker pull $IMAGE_NAME:$tag || true
107107
existing=$(docker images -q $IMAGE_NAME:$tag)
108108
if [[ $existing != "" ]]; then
109109
echo "Tag already exists, not overwriting"

0 commit comments

Comments
 (0)