Files
Jamie Curnow 6845b1af98 Update all references to correct dockerhub location:
nginxproxymanager/testca

Also remove armv7 from build as upstream image doesn't use that either
2026-05-13 10:06:58 +10:00

28 lines
571 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash -e
BLUE='\E[1;34m'
CYAN='\E[1;36m'
YELLOW='\E[1;33m'
GREEN='\E[1;32m'
RESET='\E[0m'
echo -e "${BLUE} ${CYAN}Building docker multiarch: ${YELLOW}${*}${RESET}"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${DIR}/.."
# Buildx Builder
docker buildx create --name "${BUILDX_NAME:-testca}" || echo
docker buildx use "${BUILDX_NAME:-testca}"
docker buildx build \
--platform linux/amd64,linux/arm64 \
--progress plain \
--pull \
$@ \
.
docker buildx rm "${BUILDX_NAME:-testca}"
echo -e "${BLUE} ${GREEN}Multiarch build Complete${RESET}"