@@ -42,8 +42,8 @@ builds:
4242 - -X github.com/tensorchord/envd/pkg/version.gitTreeState=clean
4343archives :
4444 - id : envd
45- format : binary
46- builds :
45+ formats : [" binary"]
46+ ids :
4747 - envd
4848 name_template : >-
4949 {{ .Binary }}_{{ .Version }}_
@@ -52,8 +52,8 @@ archives:
5252 {{- else if eq .Arch "386" }}i386
5353 {{- else }}{{ .Arch }}{{ end }}
5454 - id : envd-sshd
55- format : binary
56- builds :
55+ formats : [" binary"]
56+ ids :
5757 - envd-sshd
5858 name_template : >-
5959 {{ .Binary }}_{{ .Version }}_
@@ -83,47 +83,24 @@ changelog:
8383 order : 3
8484 - title : ' Others:'
8585 order : 999
86- dockers :
87- - image_templates :
88- - " tensorchord/envd-from-scratch:v{{ .Version }}-amd64 "
89- use : buildx
86+ dockers_v2 :
87+ - id : " envd "
88+ images :
89+ - " tensorchord/envd-from-scratch "
9090 dockerfile : base-images/envd/envd.Dockerfile
91- ids :
92- - envd
93- build_flag_templates :
94- - " --platform=linux/amd64"
95- - image_templates :
96- - " tensorchord/envd-from-scratch:v{{ .Version }}-arm64v8"
97- use : buildx
98- goarch : arm64
99- ids :
100- - envd
101- dockerfile : base-images/envd/envd.Dockerfile
102- build_flag_templates :
103- - " --platform=linux/arm64/v8"
104- - image_templates :
105- - " tensorchord/envd-sshd-from-scratch:v{{ .Version }}-amd64"
106- use : buildx
107- dockerfile : base-images/envd-sshd/envd-sshd.Dockerfile
108- ids :
109- - envd-sshd
110- build_flag_templates :
111- - " --platform=linux/amd64"
112- - image_templates :
113- - " tensorchord/envd-sshd-from-scratch:v{{ .Version }}-arm64v8"
114- use : buildx
115- goarch : arm64
116- ids :
117- - envd-sshd
91+ ids : ["envd"]
92+ tags :
93+ - " v{{ .Version }}"
94+ platforms :
95+ - linux/amd64
96+ - linux/arm64/v8
97+ - id : " envd-sshd"
98+ images :
99+ - " tensorchord/envd-sshd-from-scratch"
118100 dockerfile : base-images/envd-sshd/envd-sshd.Dockerfile
119- build_flag_templates :
120- - " --platform=linux/arm64/v8"
121- docker_manifests :
122- - name_template : tensorchord/envd-sshd-from-scratch:v{{ .Version }}
123- image_templates :
124- - tensorchord/envd-sshd-from-scratch:v{{ .Version }}-amd64
125- - tensorchord/envd-sshd-from-scratch:v{{ .Version }}-arm64v8
126- - name_template : tensorchord/envd-from-scratch:v{{ .Version }}
127- image_templates :
128- - tensorchord/envd-from-scratch:v{{ .Version }}-amd64
129- - tensorchord/envd-from-scratch:v{{ .Version }}-arm64v8
101+ ids : ["envd-sshd"]
102+ tags :
103+ - " v{{ .Version }}"
104+ platforms :
105+ - linux/amd64
106+ - linux/arm64/v8
0 commit comments