Fedir Zadniprovskyi commited on
Commit
181dbbf
·
1 Parent(s): a655157

feat: docker multi-arch builds

Browse files
Files changed (2) hide show
  1. Taskfile.yaml +1 -1
  2. compose.yaml +6 -0
Taskfile.yaml CHANGED
@@ -14,7 +14,7 @@ tasks:
14
  - speaches/*.py
15
  build-and-push:
16
  cmds:
17
- - docker compose build --push
18
  sources:
19
  - Dockerfile.*
20
  - speaches/*.py
 
14
  - speaches/*.py
15
  build-and-push:
16
  cmds:
17
+ - docker buildx bake --push
18
  sources:
19
  - Dockerfile.*
20
  - speaches/*.py
compose.yaml CHANGED
@@ -4,6 +4,9 @@ services:
4
  build:
5
  dockerfile: Dockerfile.cuda
6
  context: .
 
 
 
7
  tags:
8
  - fedirz/speaches:cuda
9
  volumes:
@@ -21,6 +24,9 @@ services:
21
  build:
22
  dockerfile: Dockerfile.cpu
23
  context: .
 
 
 
24
  tags:
25
  - fedirz/speaches:cpu
26
  volumes:
 
4
  build:
5
  dockerfile: Dockerfile.cuda
6
  context: .
7
+ platforms:
8
+ - linux/amd64
9
+ - linux/arm64
10
  tags:
11
  - fedirz/speaches:cuda
12
  volumes:
 
24
  build:
25
  dockerfile: Dockerfile.cpu
26
  context: .
27
+ platforms:
28
+ - linux/amd64
29
+ - linux/arm64
30
  tags:
31
  - fedirz/speaches:cpu
32
  volumes: