mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-30 04:02:46 +01:00
Merge pull request #1069 from jjlin/master
Skip cleanup of `arm32v6` arch-specific tags
This commit is contained in:
commit
2626e66873
1 changed files with 6 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue