Skip to content

Commit

Permalink
multi docker image with latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin82 committed Mar 3, 2023
1 parent 2d2d387 commit 4f9b372
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dockers:
- dockerfile: Dockerfile
skip_push: false
goarch: amd64
use: buildx
image_templates:
- "jordimartin/mmock:{{.Tag}}-amd64"
extra_files:
Expand All @@ -41,6 +42,7 @@ dockers:
- dockerfile: Dockerfile
skip_push: false
goarch: arm64
use: buildx
image_templates:
- "jordimartin/mmock:{{.Tag}}-arm64"
extra_files:
Expand All @@ -49,6 +51,10 @@ dockers:
build_flag_templates:
- "--platform=linux/arm64"
docker_manifests:
- name_template: "jordimartin/mmock:latest"
image_templates:
- jordimartin/mmock:{{ .Tag }}-amd64
- jordimartin/mmock:{{ .Tag }}-arm64
- name_template: "jordimartin/mmock:{{.Tag}}"
image_templates:
- jordimartin/mmock:{{ .Tag }}-amd64
Expand Down

0 comments on commit 4f9b372

Please sign in to comment.