diff --git a/build_helpers/publish_docker_pi.sh b/build_helpers/publish_docker_pi.sh index 060b1deaf..d3a941a1f 100755 --- a/build_helpers/publish_docker_pi.sh +++ b/build_helpers/publish_docker_pi.sh @@ -3,7 +3,9 @@ # The below assumes a correctly setup docker buildx environment # Replace / with _ to create a valid tag -TAG=$(echo "${BRANCH_NAME}" | sed -e "s/\//_/g") +TAG_ORIG=$(echo "${BRANCH_NAME}" | sed -e "s/\//_/g") +TAG="${TAG_ORIG}_pi" + PI_PLATFORM="linux/arm/v7" echo "Running for ${TAG}" CACHE_TAG=freqtradeorg/freqtrade_cache:${TAG}_cache @@ -30,6 +32,13 @@ else -t ${IMAGE_NAME}:${TAG} --push . fi +docker images + +docker manifest create freqtradeorg/freqtrade:${TAG}_multi ${IMAGE_NAME}:${TAG_ORIG} ${IMAGE_NAME}:${TAG} +docker manifest push freqtradeorg/freqtrade:${TAG}_multi + +docker images + if [ $? -ne 0 ]; then echo "failed building image" return 1