mirror of
https://github.com/kairos-io/packages.git
synced 2025-07-31 15:23:34 +00:00
Fix immucore fips package and bump it (#530)
This commit is contained in:
parent
80ccd1f6fb
commit
bdd67edf23
@ -21,10 +21,10 @@ env:
|
||||
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
||||
- CGO_ENABLED=1
|
||||
- GOEXPERIMENT=boringcrypto
|
||||
- LDFLAGS="-w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION} {{with .Values.ldflags}}{{.}}{{end}}"
|
||||
- LDFLAGS="-w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION}"
|
||||
{{else}}
|
||||
- CGO_ENABLED=0
|
||||
- LDFLAGS="-s -w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION} {{with .Values.ldflags}}{{.}}{{end}}"
|
||||
- LDFLAGS="-s -w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION}"
|
||||
{{end}}
|
||||
steps:
|
||||
- |
|
||||
@ -32,7 +32,7 @@ steps:
|
||||
cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{ .Values.name }} -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/
|
||||
- chmod +x /usr/bin/{{.Values.name}}
|
||||
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
||||
- /usr/bin/{{.Values.name}} version 2>&1 >/dev/null | grep -i boringcrypto
|
||||
- /usr/bin/{{.Values.name}} version | grep -i boringcrypto
|
||||
{{end}}
|
||||
includes:
|
||||
- /usr/bin/{{.Values.name}}
|
||||
|
@ -12,7 +12,7 @@ packages:
|
||||
description: "The Kairos immutability management interface"
|
||||
- name: "immucore"
|
||||
category: "fips"
|
||||
version: "0.1.5"
|
||||
version: "0.1.6"
|
||||
labels:
|
||||
github.repo: "immucore"
|
||||
autobump.revdeps: "true"
|
||||
|
Loading…
Reference in New Issue
Block a user