Set buildkit

pull/145273/head
Chuck 2022-03-16 22:23:10 +00:00
parent dfd1f28552
commit a0c8560a80
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ echo "[$(date)] ${BRANCH} => ${TAG}"
cd "${SCRIPT_PATH}/../.."
echo "[$(date)] Starting image build and push..."
export DOCKER_BUILDKIT=1
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx build --push --platform linux/amd64,linux/arm64 -t ${CONTAINER_IMAGE_REPOSITORY}:"${TAG}" -f "${SCRIPT_PATH}/cache.Dockerfile" .