mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
lock docker build to legacy docker buider, and bugfix
This commit is contained in:
parent
97ad18eddd
commit
c17bb3c032
2 changed files with 3 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ for TARGET_ARCH in "${ALL_REQUESTED_ARCH[@]}"; do
|
|||
pushd "${REPO_ROOT}"
|
||||
DownloadQemuStatic "${TARGET_ARCH}"
|
||||
QEMU_ARCH=$(GetQemuArch "${TARGET_ARCH}")
|
||||
docker build \
|
||||
DOCKER_BUILDKIT=0 docker build \
|
||||
--build-arg TARGET_ARCH="${TARGET_ARCH}" \
|
||||
--build-arg QEMU_ARCH="${QEMU_ARCH}" \
|
||||
-f "${WORK_DIR}/core/Dockerfile" \
|
||||
|
|
@ -97,7 +97,7 @@ for plugin in "${CERTBOT_PLUGINS[@]}"; do
|
|||
for TARGET_ARCH in "${ALL_REQUESTED_ARCH[@]}"; do
|
||||
QEMU_ARCH=$(GetQemuArch "${TARGET_ARCH}")
|
||||
BASE_IMAGE="${DOCKER_HUB_ORG}/certbot:${TARGET_ARCH}-${TAG_BASE}"
|
||||
docker build \
|
||||
DOCKER_BUILDKIT=0 docker build \
|
||||
--build-arg BASE_IMAGE="${BASE_IMAGE}" \
|
||||
--build-arg QEMU_ARCH="${QEMU_ARCH}" \
|
||||
-f "${WORK_DIR}/plugin/Dockerfile" \
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ MakeMultiarchManifestForAllTargetArch() {
|
|||
echo ${SRC_IMAGES}
|
||||
docker buildx imagetools create -t ${DOCKER_REPO}:${TAG_BASE}${SRC_IMAGES}
|
||||
if [[ "${TAG_BASE}" =~ ^v([2-9]|[1-9][0-9]+)\.[0-9]+\.[0-9]+$ ]]; then
|
||||
docker buildx imagetools create -t "${DOCKER_REPO}:latest" "${SRC_IMAGES}"
|
||||
docker buildx imagetools create -t ${DOCKER_REPO}:latest ${SRC_IMAGES}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue