Skip to content

Commit

Permalink
chore: support arm64 iamge
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotxx committed Aug 7, 2024
1 parent df876d8 commit 35edcc9
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .goreleaser/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,20 @@ dockers:
extra_files:
- pkg/version/VERSION
- config/relationship.yaml
# - image_templates:
# - 'kusionstack/{{ .ProjectName }}:{{ .Tag }}-arm64'
# dockerfile: Dockerfile
# use: docker
# 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={{.GitURL}}"
# - "--platform=linux/arm64"
# goarch: arm64
# extra_files:
# - ui/
- image_templates:
- 'kusionstack/{{ .ProjectName }}:{{ .Tag }}'
- 'kusionstack/{{ .ProjectName }}:latest'
dockerfile: Dockerfile
use: docker
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={{.GitURL}}"
- "--platform=linux/arm64"
goarch: arm64
extra_files:
- pkg/version/VERSION
- config/relationship.yaml

0 comments on commit 35edcc9

Please sign in to comment.