Skip to content

Commit 52e2b60

Browse files
committed
refactor: build command for cross platform images REFS #43
1 parent ce43317 commit 52e2b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tasks:
77
desc: builds a publishable docker image
88
cmds:
99
- |
10-
docker build -t anomalyhq/python-lab-server-api:v{{.PROJ_VER}} -f Dockerfile.api .
10+
docker buildx build --platform=linux/amd64,linux/arm64 --push -t ghcr.io/anomaly/ghcr.io/{{.ORG_NAME}}/{{.PROJ_NAME}}:v{{.PROJ_VER}} -t ghcr.io/ghcr.io/{{.ORG_NAME}}/{{.PROJ_NAME}}:latest -f Dockerfile .
1111
dev:test:
1212
desc: runs tests inside the server container
1313
summary: |

0 commit comments

Comments
 (0)