Skip cleanup of `arm32v6` arch-specific tags

This commit is contained in:
Jeremy Lin 2020-07-24 11:32:44 -07:00
parent fd1354d00e
commit 81e0e1b339
1 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,12 @@ jwt=$(curl -sS -X POST \
repo="${DOCKER_REPO#*/}" repo="${DOCKER_REPO#*/}"
for arch in ${arches[@]}; do 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}" tag="${DOCKER_TAG}-${arch}"
echo ">>> Deleting '${repo}:${tag}'..." echo ">>> Deleting '${repo}:${tag}'..."
curl -sS -X DELETE \ curl -sS -X DELETE \