kube-score: fix version
This commit is contained in:
parent
e7fd3b4da4
commit
b9fb0b5d60
1 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,13 @@ buildGoModule rec {
|
|||
|
||||
vendorHash = "sha256-UpuwkQHcNg3rohr+AdALakIdHroIySlTnXHgoUdY+EQ=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.version=${version}"
|
||||
"-X=main.commit=${src.rev}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kubernetes object analysis with recommendations for improved reliability and security";
|
||||
homepage = "https://github.com/zegl/kube-score";
|
||||
|
|
Loading…
Reference in a new issue