Skip to content

Commit

Permalink
Merge pull request dani-garcia#1069 from jjlin/master
Browse files Browse the repository at this point in the history
Skip cleanup of `arm32v6` arch-specific tags
  • Loading branch information
dani-garcia authored Jul 24, 2020
2 parents fd1354d + 81e0e1b commit 2626e66
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 2626e66

Please sign in to comment.