Try to make image checking be non-fatal if image already exists.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Stanislav Nikitin 2023-01-01 22:32:21 +05:00
parent 21666b4de3
commit 1537e05df7
No known key found for this signature in database
GPG Key ID: 9A63857413C83B4A
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ function get_amd64_image() {
if docker manifest inspect "${REMOTE_IMAGE}-amd64" &> /dev/null; then
echo -e "\t* Layers for amd64 architecture for this image exist."
return 2
return
fi
echo -ne "\t* Getting amd64 layers... "
@ -89,7 +89,7 @@ function get_arm64_image() {
if docker manifest inspect "${REMOTE_IMAGE}-arm64" &> /dev/null; then
echo -e "\t* Layers for arm64 architecture for this image exist."
return 2
return
fi
echo -ne "\t* Getting arm64 layers... "