Skip to content

Commit

Permalink
updated releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Sep 5, 2024
1 parent b4a6670 commit 24a6612
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ builds:
# - 7
goos:
- linux
- darwin
# - darwin
# - windows
ldflags:
- >-
Expand All @@ -48,50 +48,50 @@ checksum:
snapshot:
name_template: "{{ .Tag }}-next"

dockers:
- goos: linux
goarch: amd64
skip_push: false
dockerfile: Dockerfile
use: buildx
image_templates:
- mguptahub/chart-releaser:{{ .Tag }}-amd64
- mguptahub/chart-releaser:latest-amd64
build_flag_templates:
- "--platform=linux/amd64"
- --label=org.label-schema.schema-version=1.0
- --label=org.label-schema.version={{ .Version }}
- --label=org.label-schema.name={{ .ProjectName }}
- --label=org.label-schema.build-date={{ .Date }}
- --label=org.label-schema.description='cr - The chart release tool'
- --label=org.label-schema.vendor=Helm
# dockers:
# - goos: linux
# goarch: amd64
# skip_push: false
# dockerfile: Dockerfile
# use: buildx
# image_templates:
# - mguptahub/chart-releaser:{{ .Tag }}-amd64
# - mguptahub/chart-releaser:latest-amd64
# build_flag_templates:
# - "--platform=linux/amd64"
# - --label=org.label-schema.schema-version=1.0
# - --label=org.label-schema.version={{ .Version }}
# - --label=org.label-schema.name={{ .ProjectName }}
# - --label=org.label-schema.build-date={{ .Date }}
# - --label=org.label-schema.description='cr - The chart release tool'
# - --label=org.label-schema.vendor=Helm

- goos: linux
goarch: arm64
skip_push: false
dockerfile: Dockerfile
use: buildx
image_templates:
- mguptahub/chart-releaser:{{ .Tag }}-arm64
- mguptahub/chart-releaser:latest-arm64
build_flag_templates:
- "--platform=linux/arm64"
- --label=org.label-schema.schema-version=1.0
- --label=org.label-schema.version={{ .Version }}
- --label=org.label-schema.name={{ .ProjectName }}
- --label=org.label-schema.build-date={{ .Date }}
- --label=org.label-schema.description='cr - The chart release tool'
- --label=org.label-schema.vendor=Helm
# - goos: linux
# goarch: arm64
# skip_push: false
# dockerfile: Dockerfile
# use: buildx
# image_templates:
# - mguptahub/chart-releaser:{{ .Tag }}-arm64
# - mguptahub/chart-releaser:latest-arm64
# build_flag_templates:
# - "--platform=linux/arm64"
# - --label=org.label-schema.schema-version=1.0
# - --label=org.label-schema.version={{ .Version }}
# - --label=org.label-schema.name={{ .ProjectName }}
# - --label=org.label-schema.build-date={{ .Date }}
# - --label=org.label-schema.description='cr - The chart release tool'
# - --label=org.label-schema.vendor=Helm

docker_manifests:
- name_template: mguptahub/chart-releaser:{{ .Tag }}
image_templates:
- mguptahub/chart-releaser:{{ .Tag }}-amd64
- mguptahub/chart-releaser:{{ .Tag }}-arm64
- name_template: mguptahub/chart-releaser:latest
image_templates:
- mguptahub/chart-releaser:latest-amd64
- mguptahub/chart-releaser:latest-arm64
# docker_manifests:
# - name_template: mguptahub/chart-releaser:{{ .Tag }}
# image_templates:
# - mguptahub/chart-releaser:{{ .Tag }}-amd64
# - mguptahub/chart-releaser:{{ .Tag }}-arm64
# - name_template: mguptahub/chart-releaser:latest
# image_templates:
# - mguptahub/chart-releaser:latest-amd64
# - mguptahub/chart-releaser:latest-arm64

signs:
- id: all
Expand All @@ -101,9 +101,9 @@ signs:
args: ["sign-blob", "--output-signature", "${artifact}.sig", "--output-certificate", "${artifact}.pem", "${artifact}"]
artifacts: all

docker_signs:
- id: images
cmd: cosign
args: ["sign", "${artifact}"]
artifacts: manifests
# docker_signs:
# - id: images
# cmd: cosign
# args: ["sign", "${artifact}"]
# artifacts: manifests

0 comments on commit 24a6612

Please sign in to comment.