mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-17 16:00:28 +00:00
Fix fips build
This commit is contained in:
@@ -30,8 +30,6 @@ steps:
|
||||
- |
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && \
|
||||
cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/
|
||||
- upx -1 /usr/bin/{{.Values.name}}
|
||||
- chmod +x /usr/bin/{{.Values.name}}
|
||||
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
||||
{{ if .Values.arch }}
|
||||
{{ if eq .Values.arch "amd64" }}
|
||||
@@ -39,5 +37,7 @@ steps:
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
- upx -1 /usr/bin/{{.Values.name}}
|
||||
- chmod +x /usr/bin/{{.Values.name}}
|
||||
includes:
|
||||
- /usr/bin/{{.Values.name}}
|
||||
|
Reference in New Issue
Block a user