From 65e9d786146a300d334b3296944b3126bbf60210 Mon Sep 17 00:00:00 2001 From: Alex Bice Date: Mon, 13 Nov 2023 07:15:29 -0700 Subject: [PATCH] add ko docker build to goreleaser --- .goreleaser.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1c2fc12..9f7dd48 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,6 +19,17 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} +kos: + - repository: abice/go-enum + tags: + - "{{.Version}}" + - latest + bare: true + preserve_import_paths: false + platforms: + - linux/amd64 + - linux/arm64 + snapshot: name_template: "{{ incpatch .Version }}-next" changelog: