This commit is contained in:
parent
66ca161018
commit
1ff7f5ebdc
@ -61,9 +61,11 @@ function get_image() {
|
|||||||
echo -ne "\t* Getting ${arch} layers... "
|
echo -ne "\t* Getting ${arch} layers... "
|
||||||
|
|
||||||
# arm64 layers might be missing. So we just put "FAIL!" here and do nothing else.
|
# arm64 layers might be missing. So we just put "FAIL!" here and do nothing else.
|
||||||
if ! docker pull --platform=linux/"${arch}" "${image}" &> /dev/null; then
|
if ! docker pull --platform=linux/"${arch}" "${image}" &> "/tmp/pull-${arch}"; then
|
||||||
echo "FAIL!"
|
echo "FAIL!"
|
||||||
|
|
||||||
|
echo -e "\nLogs:\n\n" && cat "/tmp/pull-${arch}" && echo -e "\n"
|
||||||
|
|
||||||
# We presume that amd64 layers are always present. Returning an error here if they're absent.
|
# We presume that amd64 layers are always present. Returning an error here if they're absent.
|
||||||
if [ "${arch}" == "amd64" ]; then
|
if [ "${arch}" == "amd64" ]; then
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user