File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,17 @@ builds:
30
30
dockers :
31
31
- image_templates :
32
32
- " ghcr.io/sonalys/animeman:{{ .Tag }}-amd64"
33
+ - " ghcr.io/sonalys/animeman:{{ .Major }}-amd64"
34
+ - " ghcr.io/sonalys/animeman:latest-amd64"
33
35
use : buildx
34
36
build_flag_templates :
35
37
- " --pull"
36
38
- " --platform=linux/amd64"
39
+ goarch : amd64
37
40
- image_templates :
38
41
- " ghcr.io/sonalys/animeman:{{ .Tag }}-arm64"
42
+ - " ghcr.io/sonalys/animeman:{{ .Major }}-arm64"
43
+ - " ghcr.io/sonalys/animeman:latest-arm64"
39
44
use : buildx
40
45
build_flag_templates :
41
46
- " --pull"
@@ -48,6 +53,16 @@ docker_manifests:
48
53
- " ghcr.io/sonalys/animeman:{{ .Tag }}-amd64"
49
54
- " ghcr.io/sonalys/animeman:{{ .Tag }}-arm64"
50
55
56
+ - name_template : " ghcr.io/sonalys/animeman:{{ .Major }}"
57
+ image_templates :
58
+ - " ghcr.io/sonalys/animeman:{{ .Major }}-amd64"
59
+ - " ghcr.io/sonalys/animeman:{{ .Major }}-arm64"
60
+
61
+ - name_template : " ghcr.io/sonalys/animeman:latest"
62
+ image_templates :
63
+ - " ghcr.io/sonalys/animeman:latest-amd64"
64
+ - " ghcr.io/sonalys/animeman:latest-arm64"
65
+
51
66
archives :
52
67
- format : tar.gz
53
68
# this name template makes the OS and Arch compatible with the results of `uname`.
You can’t perform that action at this time.
0 commit comments