forked from gaugendre/ofx-processor
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
|
@task
|
||||||
def publish_docker(ctx):
|
def publish_docker(ctx):
|
||||||
with ctx.cd(BASE_DIR):
|
with ctx.cd(BASE_DIR):
|
||||||
docker_image = "rg.fr-par.scw.cloud/crocmagnon/ynab"
|
docker_image = "crocmagnon/ynab"
|
||||||
ctx.run(
|
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,
|
pty=True,
|
||||||
echo=True,
|
echo=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue