Skip to content

Commit

Permalink
support multi arch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancurrah committed Jul 4, 2021
1 parent 52263f8 commit 48a63db
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@ archives:
386: i386
amd64: x86_64
dockers:
- goos: linux
ids:
- synology-notifications
image_templates:
- "ryancurrah/synology-notifications:latest"
- "ryancurrah/synology-notifications:{{ .Tag }}"
- "ryancurrah/synology-notifications:v{{ .Major }}"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- image_templates:
- "ryancurrah/synology-notifications:{{ .Version }}-amd64"
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- "ryancurrah/synology-notifications:{{ .Version }}-arm64v8"
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm64/v8"
docker_manifests:
- name_template: ryancurrah/synology-notifications:{{ .Version }}
image_templates:
Expand Down

0 comments on commit 48a63db

Please sign in to comment.