+kubecm.cloud (#6043)

* Added kubecm.cloud

* Set CGO_ENABLED=0

* greater idiomatic conformance

* hm, why did i think make would check the env...

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
Max Anderson 2024-05-02 13:21:35 -04:00 committed by GitHub
parent 3eeeab96fa
commit 8da334c5a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,21 @@
distributable:
url: https://github.com/sunny0826/kubecm/archive/refs/tags/{{ version.tag }}.tar.gz
strip-components: 1
display-name: kubecm
versions:
github: sunny0826/kubecm
build:
dependencies:
go.dev: ^1.22
script: make build BUILD_TARGET_PKG_DIR="{{ prefix }}/bin" TAG={{ version }} KUBECM_VERSION={{ version }}
env:
CGO_ENABLED: 0
provides:
- bin/kubecm
test:
- kubecm version | grep {{ version }}