1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00
Carlos Alexandro Becker 52cf951c30
feat: krew support (#2639)
* feat: krew support

* fix: adds it to the pipe

* chore: fmt

* test: improvements

* fix: rm unused code

* fix: stringer

* fix: tmpl

* test: improvements

* fix: lint issues

* fix: only allow 1 binary per archive

* fix: validate

* chore: comment

* fix: renamed to manifest

* fix: krew plugin manifest

* fix: name

* fix: godoc

* fix: install validate-krew-manifest on ci

* fix: helper

* fix: ensure order

* fix: testing

* docs: guidelines

* fix: flag
2021-11-11 09:37:58 -03:00

32 lines
926 B
YAML

apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: multiple_armv5
spec:
version: v1.0.1
platforms:
- bin: foo
uri: https://dummyhost/download/v1.0.1/bin.tar.gz
sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
selector:
matchLabels:
os: darwin
arch: amd64
- bin: foo
uri: https://dummyhost/download/v1.0.1/armv5.tar.gz
sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
selector:
matchLabels:
os: linux
arch: arm
- bin: foo
uri: https://dummyhost/download/v1.0.1/arm64.tar.gz
sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
selector:
matchLabels:
os: linux
arch: arm64
shortDescription: Short desc
homepage: https://github.com/goreleaser
description: A run pipe test krew manifest and FOO=foo_is_bar