diff --git a/packages/system/immucore/build.yaml b/packages/system/immucore/build.yaml index 9dd6993..50f6819 100644 --- a/packages/system/immucore/build.yaml +++ b/packages/system/immucore/build.yaml @@ -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}} diff --git a/packages/system/immucore/collection.yaml b/packages/system/immucore/collection.yaml index 8aa02bb..f5fbeea 100644 --- a/packages/system/immucore/collection.yaml +++ b/packages/system/immucore/collection.yaml @@ -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"