diff --git a/.goreleaser/.goreleaser.yml b/.goreleaser/.goreleaser.yml index dae5aa8c..0628a224 100644 --- a/.goreleaser/.goreleaser.yml +++ b/.goreleaser/.goreleaser.yml @@ -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