Update docker build for M1 mac support

This commit is contained in:
Gabriel Augendre 2022-03-13 11:27:30 +01:00
parent b9f851322e
commit 8cd40d71f6

View file

@ -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,
)