Skip to content

Commit

Permalink
Build amd64 and arm64/v8 Docker Images
Browse files Browse the repository at this point in the history
  • Loading branch information
drcapulet committed Mar 15, 2024
1 parent 3ced97c commit 768b588
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,24 @@ changelog:
use: github

dockers:
- build_flag_templates:
- "--platform=linux/amd64"
image_templates:
- "ghcr.io/persona-id/{{.ProjectName}}:{{ .Tag }}-amd64"
goarch: arm64
skip_push: false
- build_flag_templates:
- "--platform=linux/arm64/v8"
image_templates:
- "ghcr.io/persona-id/{{.ProjectName}}:{{ .Tag }}-arm64v8"
goarch: arm64
skip_push: false

docker_manifests:
- image_templates:
- "ghcr.io/persona-id/{{.ProjectName}}:latest"
- "ghcr.io/persona-id/{{.ProjectName}}:{{ .Tag }}"
- "ghcr.io/persona-id/{{.ProjectName}}:{{ .Tag }}-amd64"
- "ghcr.io/persona-id/{{.ProjectName}}:{{ .Tag }}-arm64v8"
name_template: "ghcr.io/persona-id/{{.ProjectName}}:{{ .Tag }}"
skip_push: false

project_name: gcp-artifact-registry-docker-proxy

0 comments on commit 768b588

Please sign in to comment.