Skip to content

Commit d86f04d

Browse files
authored
Do not fail when docker pull fails (#385)
1 parent a0aafbd commit d86f04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/docker_buildx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ for tag in "${DOCKER_TAGS[@]}"; do
4949
if [ "${docker_tag_exists_in_ecr}" = "true" ]; then
5050
IFS="," read -ra PLATFORMS <<<"${AWS_ECR_EVAL_PLATFORM}"
5151
for p in "${PLATFORMS[@]}"; do
52-
docker pull "${AWS_ECR_VAL_ACCOUNT_URL}/${AWS_ECR_EVAL_REPO}:${tag}" --platform "${p}"
52+
docker pull "${AWS_ECR_VAL_ACCOUNT_URL}/${AWS_ECR_EVAL_REPO}:${tag}" --platform "${p}" || true
5353
done
5454
number_of_tags_in_ecr=$((number_of_tags_in_ecr += 1))
5555
fi

0 commit comments

Comments
 (0)