Skip to content

Commit

Permalink
Skip cleanup of arm32v6 arch-specific tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlin committed Jul 24, 2020
1 parent fd1354d commit 81e0e1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hooks/push
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 81e0e1b

Please sign in to comment.