

feat: docker multi-arch builds
@181dbbf7f33278121f85d82a1c655aeb9066eed5
--- Taskfile.yaml
+++ Taskfile.yaml
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 |
- speaches/*.py |
15 | 15 |
build-and-push: |
16 | 16 |
cmds: |
17 |
- - docker compose build --push |
|
17 |
+ - docker buildx bake --push |
|
18 | 18 |
sources: |
19 | 19 |
- Dockerfile.* |
20 | 20 |
- speaches/*.py |
--- compose.yaml
+++ compose.yaml
... | ... | @@ -4,6 +4,9 @@ |
4 | 4 |
build: |
5 | 5 |
dockerfile: Dockerfile.cuda |
6 | 6 |
context: . |
7 |
+ platforms: |
|
8 |
+ - linux/amd64 |
|
9 |
+ - linux/arm64 |
|
7 | 10 |
tags: |
8 | 11 |
- fedirz/speaches:cuda |
9 | 12 |
volumes: |
... | ... | @@ -21,6 +24,9 @@ |
21 | 24 |
build: |
22 | 25 |
dockerfile: Dockerfile.cpu |
23 | 26 |
context: . |
27 |
+ platforms: |
|
28 |
+ - linux/amd64 |
|
29 |
+ - linux/arm64 |
|
24 | 30 |
tags: |
25 | 31 |
- fedirz/speaches:cpu |
26 | 32 |
volumes: |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?