Do a different check for fips on immucore (#301)

This commit is contained in:
Itxaka 2023-06-16 17:07:18 +02:00 committed by GitHub
parent 6aa786ed5e
commit cfa8c7d3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 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}}
includes:
- /usr/bin/{{.Values.name}}