Browse Source

Merge pull request #1069 from jjlin/master

Skip cleanup of `arm32v6` arch-specific tags
Daniel García 5 years ago
parent
commit
2626e66873
1 changed files with 6 additions and 0 deletions
  1. 6 0
      hooks/push

+ 6 - 0
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 \