@@ -11,7 +11,7 @@ builds:
1111 - -tags=fips,boringcrypto
1212 env :
1313 - NOP=nop # ignore this, it is jsut to avoid a complex conditional in the templates
14- - $env
14+ - GOEXPERIMENT=boringcrypto
1515 ldflags :
1616 - -X github.com/TykTechnologies/tyk-pump/pumps.Version={{.Version}}
1717 - -X github.com/TykTechnologies/tyk-pump/pumps.Commit={{.FullCommit}}
@@ -157,6 +157,100 @@ publishers:
157157 env :
158158 - PACKAGECLOUD_TOKEN={{ .Env.PACKAGECLOUD_TOKEN }}
159159 cmd : packagecloud publish --debvers "{{ .Env.DEBVERS }}" --rpmvers "{{ .Env.RPMVERS }}" tyk/tyk-pump-unstable {{ .ArtifactPath }}
160+ dockers :
161+ # Build tykio/tyk-pump-fips fips (amd64)
162+ - ids :
163+ - fips-amd64
164+ image_templates :
165+ - " tykio/tyk-pump-fips:{{.Tag}}-fips-amd64"
166+ build_flag_templates :
167+ - " --build-arg=PORTS=80"
168+ - " --build-arg=BUILD_PACKAGE_NAME=tyk-pump-fips"
169+ - " --platform=linux/amd64"
170+ - " --label=org.opencontainers.image.created={{.Date}}"
171+ - " --label=org.opencontainers.image.title={{.ProjectName}} FIPS"
172+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
173+ - " --label=org.opencontainers.image.version={{.Version}}"
174+ use : buildx
175+ goarch : amd64
176+ goos : linux
177+ dockerfile : ci/Dockerfile.std
178+ extra_files :
179+ - " ci/install/"
180+ - " README.md"
181+ - " dist/"
182+ - " LICENSE.md"
183+ - " pump.example.conf"
184+ # Build tykio/tyk-pump-docker-pub std (amd64)
185+ - ids :
186+ - std-amd64
187+ image_templates :
188+ - " tykio/tyk-pump-docker-pub:{{.Tag}}-std-amd64"
189+ build_flag_templates :
190+ - " --build-arg=PORTS=80"
191+ - " --build-arg=BUILD_PACKAGE_NAME=tyk-pump"
192+ - " --platform=linux/amd64"
193+ - " --label=org.opencontainers.image.created={{.Date}}"
194+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
195+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
196+ - " --label=org.opencontainers.image.version={{.Version}}"
197+ use : buildx
198+ goarch : amd64
199+ goos : linux
200+ dockerfile : ci/Dockerfile.std
201+ extra_files :
202+ - " ci/install/"
203+ - " README.md"
204+ - " dist/"
205+ - " LICENSE.md"
206+ - " pump.example.conf"
207+ # Build tykio/tyk-pump-docker-pub std (arm64)
208+ - ids :
209+ - std-arm64
210+ image_templates :
211+ - " tykio/tyk-pump-docker-pub:{{.Tag}}-std-arm64"
212+ build_flag_templates :
213+ - " --build-arg=PORTS=80"
214+ - " --build-arg=BUILD_PACKAGE_NAME=tyk-pump"
215+ - " --platform=linux/arm64"
216+ - " --label=org.opencontainers.image.created={{.Date}}"
217+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
218+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
219+ - " --label=org.opencontainers.image.version={{.Version}}"
220+ use : buildx
221+ goarch : arm64
222+ goos : linux
223+ dockerfile : ci/Dockerfile.std
224+ extra_files :
225+ - " ci/install/"
226+ - " README.md"
227+ - " dist/"
228+ - " LICENSE.md"
229+ - " pump.example.conf"
230+ docker_manifests :
231+ # Single-arch manifest for tykio/tyk-pump-fips fips
232+ - name_template : tykio/tyk-pump-fips:{{ .Tag }}-fips
233+ image_templates :
234+ - tykio/tyk-pump-fips:{{`{{ .Tag }}`}}-fips-amd64
235+ - name_template : tykio/tyk-pump-fips:v{{ .Major }}.{{ .Minor }}{{.Prerelease}}-fips
236+ image_templates :
237+ - tykio/tyk-pump-fips:{{`{{ .Tag }}`}}-fips-amd64
238+ - name_template : tykio/tyk-pump-fips:v{{ .Major }}{{.Prerelease}}-fips
239+ image_templates :
240+ - tykio/tyk-pump-fips:{{`{{ .Tag }}`}}-fips-amd64
241+ # Multi-arch manifest for tykio/tyk-pump-docker-pub std
242+ - name_template : tykio/tyk-pump-docker-pub:{{ .Tag }}
243+ image_templates :
244+ - tykio/tyk-pump-docker-pub:{{`{{ .Tag }}`}}-std-amd64
245+ - tykio/tyk-pump-docker-pub:{{`{{ .Tag }}`}}-std-arm64
246+ - name_template : tykio/tyk-pump-docker-pub:v{{ .Major }}.{{ .Minor }}{{.Prerelease}}
247+ image_templates :
248+ - tykio/tyk-pump-docker-pub:{{`{{ .Tag }}`}}-std-amd64
249+ - tykio/tyk-pump-docker-pub:{{`{{ .Tag }}`}}-std-arm64
250+ - name_template : tykio/tyk-pump-docker-pub:v{{ .Major }}{{.Prerelease}}
251+ image_templates :
252+ - tykio/tyk-pump-docker-pub:{{`{{ .Tag }}`}}-std-amd64
253+ - tykio/tyk-pump-docker-pub:{{`{{ .Tag }}`}}-std-arm64
160254# This disables archives
161255archives :
162256 - formats : ['binary']
0 commit comments