Browse Source
Merge pull request #1069 from jjlin/master
Skip cleanup of `arm32v6` arch-specific tags
pull/1075/head
1.16.1
Daniel García
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
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 \ |
|
|
|