Skip to content

Commit

Permalink
Merge pull request #12 from pyama86/multi
Browse files Browse the repository at this point in the history
support arm64 docker image
  • Loading branch information
takumakume authored Mar 30, 2024
2 parents e6d7d0e + bc017da commit 06b2c9c
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ dockers:
goos: linux
goarch: amd64
image_templates:
- 'docker.io/takumakume/sbomreport-to-dependencytrack:{{ .Version }}'
- 'docker.io/takumakume/sbomreport-to-dependencytrack:latest'
- 'docker.io/takumakume/sbomreport-to-dependencytrack:{{ .Version }}-amd64'
- 'docker.io/takumakume/sbomreport-to-dependencytrack:latest-amd64'
dockerfile: Dockerfile
build_flag_templates:
- "--pull"
Expand All @@ -55,3 +55,27 @@ dockers:
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/takumakume/sbomreport-to-dependencytrack"
-
goos: linux
goarch: arm64
image_templates:
- 'docker.io/takumakume/sbomreport-to-dependencytrack:{{ .Version }}-arm64'
- 'docker.io/takumakume/sbomreport-to-dependencytrack:latest-arm64'
dockerfile: Dockerfile
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/takumakume/sbomreport-to-dependencytrack"

docker_manifests:
- name_template: 'takumakume/sbomreport-to-dependencytrack:{{ .Version }}'
image_templates:
- 'takumakume/sbomreport-to-dependencytrack{{ .Version }}-arm64'
- 'takumakume/sbomreport-to-dependencytrack{{ .Version }}-amd64'
- name_template: 'takumakume/sbomreport-to-dependencytrack:latest'
image_templates:
- 'takumakume/sbomreport-to-dependencytrack:latest-arm64'
- 'takumakume/sbomreport-to-dependencytrack:latest-amd64'

0 comments on commit 06b2c9c

Please sign in to comment.