Update docker build for M1 mac support
This commit is contained in:
parent
b9f851322e
commit
8cd40d71f6
1 changed files with 2 additions and 2 deletions
4
tasks.py
4
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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue