Skip to content

Commit

Permalink
feat: Arm64 docker image (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmmcgivern authored Oct 7, 2024
1 parent 11de8c6 commit 5c75426
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,44 @@ signs:
dockers:
- dockerfile: build/package/Dockerfile
image_templates:
- "newrelic/cli:{{ .Tag }}"
- "newrelic/cli:v{{ .Major }}.{{ .Minor }}"
- "newrelic/cli:latest"
- "newrelic/cli:{{ .Tag }}-amd64"
- "newrelic/cli:v{{ .Major }}.{{ .Minor }}-amd64"
- "newrelic/cli:latest-amd64"
use: buildx
build_flag_templates:
- "--pull"
- "--label=repository=http://github.com/newrelic/newrelic-cli"
- "--label=homepage=https://developer.newrelic.com/"
- "--label=maintainer=Developer Toolkit <opensource@newrelic.com>"
- "--platform=linux/amd64"
goarch: amd64
- dockerfile: build/package/Dockerfile
image_templates:
- "newrelic/cli:{{ .Tag }}-arm64"
- "newrelic/cli:v{{ .Major }}.{{ .Minor }}-arm64"
- "newrelic/cli:latest-arm64"
use: buildx
build_flag_templates:
- "--pull"
- "--label=repository=http://github.com/newrelic/newrelic-cli"
- "--label=homepage=https://developer.newrelic.com/"
- "--label=maintainer=Developer Toolkit <opensource@newrelic.com>"
- "--platform=linux/arm64"
goarch: arm64

docker_manifests:
- name_template: "newrelic/cli:{{ .Tag }}"
image_templates:
- "newrelic/cli:{{ .Tag }}-amd64"
- "newrelic/cli:{{ .Tag }}-arm64"
- name_template: "newrelic/cli:v{{ .Major }}.{{ .Minor }}"
image_templates:
- "newrelic/cli:v{{ .Major }}.{{ .Minor }}-amd64"
- "newrelic/cli:v{{ .Major }}.{{ .Minor }}-arm64"
- name_template: "newrelic/cli:latest"
image_templates:
- "newrelic/cli:latest-amd64"
- "newrelic/cli:latest-arm64"

# Uses git-chglog output from release flow
changelog:
Expand Down

0 comments on commit 5c75426

Please sign in to comment.