geforkt von mirrored/vaultwarden
Merge pull request #1089 from jjlin/master
Don't push `latest-arm32v6` tag for MySQL and PostgreSQL images
Dieser Commit ist enthalten in:
Commit
6b2cc5a3ee
1 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
|
@ -41,13 +41,18 @@ if [[ "${DOCKER_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||||
# auto-select that image on Armv6 platforms like Raspberry Pi 1 and Zero
|
# auto-select that image on Armv6 platforms like Raspberry Pi 1 and Zero
|
||||||
# (https://github.com/moby/moby/issues/41017).
|
# (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
|
# TODO: Also add an `alpine-arm32v6` tag if multi-arch support for
|
||||||
# Alpine-based bitwarden_rs images is implemented before this Docker
|
# Alpine-based bitwarden_rs images is implemented before this Docker
|
||||||
# issue is fixed.
|
# issue is fixed.
|
||||||
|
if [[ ${DOCKER_REPO} == *server ]]; then
|
||||||
docker tag "${DOCKER_REPO}:${DOCKER_TAG}-arm32v6" "${DOCKER_REPO}:latest-arm32v6"
|
docker tag "${DOCKER_REPO}:${DOCKER_TAG}-arm32v6" "${DOCKER_REPO}:latest-arm32v6"
|
||||||
docker push "${DOCKER_REPO}:latest-arm32v6"
|
docker push "${DOCKER_REPO}:latest-arm32v6"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
for manifest_list in "${manifest_lists[@]}"; do
|
for manifest_list in "${manifest_lists[@]}"; do
|
||||||
# Create the (multi-arch) manifest list of arch-specific images.
|
# Create the (multi-arch) manifest list of arch-specific images.
|
||||||
|
|
Laden …
In neuem Issue referenzieren