mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-19 16:38:06 +00:00
Do a different check for fips on immucore (#301)
This commit is contained in:
parent
6aa786ed5e
commit
cfa8c7d3c1
@ -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/
|
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}}
|
- chmod +x /usr/bin/{{.Values.name}}
|
||||||
{{if eq .Values.category "fips" }}
|
{{if eq .Values.category "fips" }}
|
||||||
- go tool nm /usr/bin/{{.Values.name}} | grep -i "FIPS_mode"
|
- /usr/bin/{{.Values.name}} version 2>&1 >/dev/null | grep -i boringcrypto
|
||||||
{{end}}
|
{{end}}
|
||||||
includes:
|
includes:
|
||||||
- /usr/bin/{{.Values.name}}
|
- /usr/bin/{{.Values.name}}
|
||||||
|
Loading…
Reference in New Issue
Block a user