Try to make image checking be non-fatal if image already exists.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
21666b4de3
commit
1537e05df7
@ -55,7 +55,7 @@ function get_amd64_image() {
|
|||||||
if docker manifest inspect "${REMOTE_IMAGE}-amd64" &> /dev/null; then
|
if docker manifest inspect "${REMOTE_IMAGE}-amd64" &> /dev/null; then
|
||||||
echo -e "\t* Layers for amd64 architecture for this image exist."
|
echo -e "\t* Layers for amd64 architecture for this image exist."
|
||||||
|
|
||||||
return 2
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -ne "\t* Getting amd64 layers... "
|
echo -ne "\t* Getting amd64 layers... "
|
||||||
@ -89,7 +89,7 @@ function get_arm64_image() {
|
|||||||
if docker manifest inspect "${REMOTE_IMAGE}-arm64" &> /dev/null; then
|
if docker manifest inspect "${REMOTE_IMAGE}-arm64" &> /dev/null; then
|
||||||
echo -e "\t* Layers for arm64 architecture for this image exist."
|
echo -e "\t* Layers for arm64 architecture for this image exist."
|
||||||
|
|
||||||
return 2
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -ne "\t* Getting arm64 layers... "
|
echo -ne "\t* Getting arm64 layers... "
|
||||||
|
Loading…
Reference in New Issue
Block a user