From 4fbd2deb376a632462cc77c290caf035c19688cd Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 25 May 2020 15:04:12 +0200 Subject: [PATCH] Use correct image --- build_helpers/publish_docker_pi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_helpers/publish_docker_pi.sh b/build_helpers/publish_docker_pi.sh index 744f6e196..35b9ff5f7 100755 --- a/build_helpers/publish_docker_pi.sh +++ b/build_helpers/publish_docker_pi.sh @@ -12,12 +12,12 @@ echo "${GITHUB_SHA}" > freqtrade_commit if [ "${GITHUB_EVENT_NAME}" = "schedule" ]; then echo "event ${GITHUB_EVENT_NAME}: full rebuild - skipping cache" - docker buildx build --platform linux/arm/v7 -t ${IMAGE_NAME}:${TAG} --push . + docker buildx build -f Dockerfile.armhf --platform ${PI_PLATFORM} -t ${IMAGE_NAME}:${TAG} --push . else echo "event ${GITHUB_EVENT_NAME}: building with cache" # Pull last build to avoid rebuilding the whole image docker pull --platform ${PI_PLATFORM} ${IMAGE_NAME}:${TAG} - docker buildx build --cache-from ${IMAGE_NAME}:${TAG} --platform ${PI_PLATFORM} -t ${IMAGE_NAME}:${TAG} --push . + docker buildx build --cache-from ${IMAGE_NAME}:${TAG} -f Dockerfile.armhf --platform ${PI_PLATFORM} -t ${IMAGE_NAME}:${TAG} --push . fi if [ $? -ne 0 ]; then