vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit c218c3481291277263964e12dae902598be5e8c5
parent 2626e66873436dcd2cca4f2ad65449feeb9c8f3d
Author: Jeremy Lin <jeremy.lin@gmail.com>
Date:   Sun, 26 Jul 2020 15:28:14 -0700

Push an extra `latest-arm32v6` tag

This fixes a gap in PR #1069.

Diffstat:
Mhooks/push | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/hooks/push b/hooks/push @@ -36,6 +36,16 @@ if [[ "${DOCKER_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then manifest_lists+=(${DOCKER_REPO}:alpine) else manifest_lists+=(${DOCKER_REPO}:latest) + + # Add an extra `latest-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). + # + # TODO: Also add an `alpine-arm32v6` tag if multi-arch support for + # Alpine-based bitwarden_rs images is implemented before this Docker + # issue is fixed. + docker tag "${DOCKER_REPO}:${DOCKER_TAG}-arm32v6" "${DOCKER_REPO}:latest-arm32v6" + docker push "${DOCKER_REPO}:latest-arm32v6" fi fi