Merge pull request #1069 from jjlin/master

Skip cleanup of `arm32v6` arch-specific tags
This commit is contained in:
Daniel García 2020-07-24 23:05:29 +02:00 committed by GitHub
commit 2626e66873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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 \