From 81e0e1b339ad79189ed4bc7bb9e500330ee82239 Mon Sep 17 00:00:00 2001 From: Jeremy Lin Date: Fri, 24 Jul 2020 11:32:44 -0700 Subject: [PATCH] Skip cleanup of `arm32v6` arch-specific tags --- hooks/push | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hooks/push b/hooks/push index c22095ee..4b64fc3f 100755 --- a/hooks/push +++ b/hooks/push @@ -88,6 +88,12 @@ jwt=$(curl -sS -X POST \ repo="${DOCKER_REPO#*/}" for arch in ${arches[@]}; do + # Don't delete the `arm32v6` tag; Docker can't seem to properly + # auto-select that image on Armv6 platforms like Raspberry Pi 1 and Zero + # (https://github.com/moby/moby/issues/41017). + if [[ ${arch} == 'arm32v6' ]]; then + continue + fi tag="${DOCKER_TAG}-${arch}" echo ">>> Deleting '${repo}:${tag}'..." curl -sS -X DELETE \