@@ -68,6 +68,7 @@ builds:
6868 - " {{ .Env.BUILD_LDFLAGS }}"
6969 - -s -w
7070 - -linkmode=external
71+ # yamllint disable-line rule:line-length
7172 - -extldflags "-L./.cache/lib -lwasmvm_muslc.x86_64 -Wl,-z,muldefs -lm -lrt -lc"
7273 - id : akash-linux-arm64
7374 binary : akash
@@ -87,6 +88,7 @@ builds:
8788 - " {{ .Env.BUILD_LDFLAGS }}"
8889 - -s -w
8990 - -linkmode=external
91+ # yamllint disable-line rule:line-length
9092 - -extldflags "-L./.cache/lib -lwasmvm_muslc.aarch64 -Wl,-z,muldefs -lm -lrt -lc"
9193universal_binaries :
9294 - id : akash-darwin-universal
@@ -118,6 +120,15 @@ archives:
118120 - zip
119121 files :
120122 - none*
123+ - id : contracts
124+ name_template : " contracts"
125+ meta : true
126+ wrap_in_directory : false
127+ formats :
128+ - zip
129+ files :
130+ - src : .cache/cosmwasm/artifacts/**.*
131+ strip_parent : true
121132
122133checksum :
123134 # You can change the name of the checksums file.
@@ -136,11 +147,13 @@ dockers:
136147 - --label=org.opencontainers.image.url={{ .GitURL }}
137148 - --label=org.opencontainers.image.source={{ .GitURL }}
138149 - --label=org.opencontainers.image.version={{ replace .Version "+" "-" }}
150+ # yamllint disable-line rule:line-length
139151 - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
140152 - --label=org.opencontainers.image.revision={{ .FullCommit }}
141153 image_templates :
142154 - ' {{ .Env.DOCKER_IMAGE }}:{{ .ShortCommit }}-amd64'
143155 - ' {{ .Env.DOCKER_IMAGE }}:{{ replace .Version "+" "-" }}-amd64'
156+ # yamllint disable-line rule:line-length
144157 - ' {{ .Env.DOCKER_IMAGE }}:{{if eq .Env.STABLE "true"}}stable{{else}}latest{{end}}-amd64'
145158 - dockerfile : _build/akash.Dockerfile
146159 use : buildx
@@ -153,11 +166,13 @@ dockers:
153166 - --label=org.opencontainers.image.url={{ .GitURL }}
154167 - --label=org.opencontainers.image.source={{ .GitURL }}
155168 - --label=org.opencontainers.image.version={{ replace .Version "+" "-" }}
169+ # yamllint disable-line rule:line-length
156170 - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
157171 - --label=org.opencontainers.image.revision={{ .FullCommit }}
158172 image_templates :
159173 - ' {{ .Env.DOCKER_IMAGE }}:{{ .ShortCommit }}-arm64'
160174 - ' {{ .Env.DOCKER_IMAGE }}:{{ replace .Version "+" "-" }}-arm64'
175+ # yamllint disable-line rule:line-length
161176 - ' {{ .Env.DOCKER_IMAGE }}:{{if eq .Env.STABLE "true"}}stable{{else}}latest{{end}}-arm64'
162177docker_manifests :
163178 - name_template : " {{ .Env.DOCKER_IMAGE }}:{{ .ShortCommit }}"
0 commit comments