From 8cd40d71f6ee4667f4298ecb2a47ad369e3bdbc0 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 13 Mar 2022 11:27:30 +0100 Subject: [PATCH] Update docker build for M1 mac support --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index 495808e..da990a1 100644 --- a/tasks.py +++ b/tasks.py @@ -42,9 +42,9 @@ def publish(ctx): @task def publish_docker(ctx): with ctx.cd(BASE_DIR): - docker_image = "rg.fr-par.scw.cloud/crocmagnon/ynab" + docker_image = "crocmagnon/ynab" ctx.run( - f"docker build --build-arg OFX_VERSION=$(poetry version -s) -t {docker_image} .", + f"docker build --platform linux/amd64 --build-arg OFX_VERSION=$(poetry version -s) -t {docker_image} .", pty=True, echo=True, )