deployment: enable goreleaser buildx (#2968)

This commit is contained in:
Travis Groth 2022-01-25 10:21:43 -05:00 committed by GitHub
parent bf287bf4c1
commit 8e8c9c2f16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,6 +65,7 @@ dockers:
- image_templates:
- "pomerium/pomerium:amd64-{{ .Tag }}"
dockerfile: .github/Dockerfile-release
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
@ -79,6 +80,7 @@ dockers:
- image_templates:
- "gcr.io/pomerium-io/pomerium:{{ .Tag }}-cloudrun"
dockerfile: .github/Dockerfile-cloudrun
use: buildx
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
@ -93,6 +95,7 @@ dockers:
image_templates:
- "pomerium/pomerium:arm64v8-{{ .Tag }}"
dockerfile: .github/Dockerfile-release
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"