File tree 2 files changed +42
-3
lines changed
2 files changed +42
-3
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
go-version : 1.17
20
20
21
+ - name : Set up QEMU
22
+ uses : docker/setup-qemu-action@v2
23
+ with :
24
+ image : tonistiigi/binfmt:qemu-v6.2.0
25
+ platforms : " linux/amd64, linux/arm64"
26
+
27
+ - name : Set up Docker Buildx
28
+ id : buildx
29
+ uses : docker/setup-buildx-action@v2
30
+
21
31
- name : Login docker.io
22
32
run : docker login -u celfring -p ${{ secrets.DOCKER_TOKEN }}
23
33
Original file line number Diff line number Diff line change @@ -50,10 +50,39 @@ changelog:
50
50
51
51
dockers :
52
52
- dockerfile : build/Dockerfile
53
+ use : buildx
54
+ goos : linux
55
+ goarch : amd64
56
+ build_flag_templates :
57
+ - " --platform=linux/amd64"
53
58
image_templates :
54
- - " getwoke/woke:latest"
55
- - " getwoke/woke:{{ .Major }}.{{ .Minor }}"
56
- - " getwoke/woke:{{ .RawVersion }}"
59
+ - " getwoke/woke:latest-amd64"
60
+ - " getwoke/woke:{{ .Major }}.{{ .Minor }}-amd64"
61
+ - " getwoke/woke:{{ .RawVersion }}-amd64"
62
+ - dockerfile : build/Dockerfile
63
+ use : buildx
64
+ goos : linux
65
+ goarch : arm64
66
+ build_flag_templates :
67
+ - " --platform=linux/arm64"
68
+ image_templates :
69
+ - " getwoke/woke:latest-arm64"
70
+ - " getwoke/woke:{{ .Major }}.{{ .Minor }}-arm64"
71
+ - " getwoke/woke:{{ .RawVersion }}-arm64"
72
+
73
+ docker_manifests :
74
+ - name_template : getwoke/woke:latest
75
+ image_templates :
76
+ - " getwoke/woke:latest-amd64"
77
+ - " getwoke/woke:latest-arm64"
78
+ - name_template : getwoke/woke:{{ .Major }}.{{ .Minor }}
79
+ image_templates :
80
+ - " getwoke/woke:{{ .Major }}.{{ .Minor }}-amd64"
81
+ - " getwoke/woke:{{ .Major }}.{{ .Minor }}-arm64"
82
+ - name_template : getwoke/woke:{{ .RawVersion }}
83
+ image_templates :
84
+ - " getwoke/woke:{{ .RawVersion }}-amd64"
85
+ - " getwoke/woke:{{ .RawVersion }}-arm64"
57
86
58
87
brews :
59
88
- tap :
You can’t perform that action at this time.
0 commit comments