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 5247e0d77324c8c33a7d1b2e1a7aff3512918dab
parent ad48e9ed0f91a1a7b38a032b2a538d4c9725f31c
Author: Jeremy Lin <jeremy.lin@gmail.com>
Date:   Fri,  7 Aug 2020 10:15:15 -0700

Don't push `latest-arm32v6` tag for MySQL and PostgreSQL images

Diffstat:
Mhooks/push | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/hooks/push b/hooks/push @@ -41,11 +41,16 @@ if [[ "${DOCKER_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then # auto-select that image on Armv6 platforms like Raspberry Pi 1 and Zero # (https://github.com/moby/moby/issues/41017). # + # Add this tag only for the SQLite image, as the MySQL and PostgreSQL + # builds don't currently work on non-amd64 arches. + # # 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" + if [[ ${DOCKER_REPO} == *server ]]; then + docker tag "${DOCKER_REPO}:${DOCKER_TAG}-arm32v6" "${DOCKER_REPO}:latest-arm32v6" + docker push "${DOCKER_REPO}:latest-arm32v6" + fi fi fi