Skip to content

Commit

Permalink
chore(docker): switch from buildx to docker for improved build compat…
Browse files Browse the repository at this point in the history
…ibility
  • Loading branch information
yarlson committed Jan 25, 2025
1 parent 950570e commit d734f93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ dockers:
- "yarlson/zero:{{ .Version }}-amd64"
- "yarlson/zero:latest-amd64"
dockerfile: Dockerfile
use: buildx
use: docker
build_flag_templates:
- "--platform=linux/amd64"
- "--builder=default"

- id: zero-arm64
goos: linux
Expand All @@ -43,9 +44,10 @@ dockers:
- "yarlson/zero:{{ .Version }}-arm64"
- "yarlson/zero:latest-arm64"
dockerfile: Dockerfile
use: buildx
use: docker
build_flag_templates:
- "--platform=linux/arm64"
- "--builder=default"

docker_manifests:
- name_template: yarlson/zero:{{ .Version }}
Expand Down

0 comments on commit d734f93

Please sign in to comment.