From 5ad907c153379dff0236b4f2027457c95ce59b10 Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Tue, 6 Jun 2023 11:05:14 +0530 Subject: [PATCH] ci: optimize build time --- .goreleaser.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 85e6886..97a5745 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -8,10 +8,8 @@ builds: goos: - linux - windows - - darwin goarch: - amd64 - - arm64 ldflags: - -s -w -X "main.buildString={{ .Tag }} ({{ .ShortCommit }} {{ .Date }})" dir: ./cmd/ @@ -29,6 +27,7 @@ archives: format_overrides: - goos: windows format: zip + checksum: name_template: "checksums.txt" snapshot: @@ -41,7 +40,7 @@ changelog: - "^test:" dockers: - - image_templates: ["ghcr.io/zerodha/mii-lama:{{ .Tag }}-amd64"] + - image_templates: ["ghcr.io/zerodha/mii-lama:{{ .Tag }}"] goarch: amd64 dockerfile: Dockerfile use: buildx @@ -54,12 +53,4 @@ dockers: - "--platform=linux/amd64" extra_files: - config.sample.toml - -docker_manifests: - - name_template: ghcr.io/zerodha/mii-lama:{{ .Tag }} - image_templates: - - ghcr.io/zerodha/mii-lama:{{ .Tag }}-amd64 - - ghcr.io/zerodha/mii-lama:{{ .Tag }}-arm64 - - name_template: ghcr.io/zerodha/mii-lama:latest - image_templates: - - ghcr.io/zerodha/mii-lama:{{ .Tag }}-amd64 + - prometheus.sample.yml