From c01d292e2f3d94dd22be0a2e1b5686907c913fee Mon Sep 17 00:00:00 2001 From: Itxaka Date: Fri, 19 Apr 2024 17:41:13 +0200 Subject: [PATCH] Fix fips build --- packages/system/kcrypt/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/system/kcrypt/build.yaml b/packages/system/kcrypt/build.yaml index 3564a6b..b8a29e4 100644 --- a/packages/system/kcrypt/build.yaml +++ b/packages/system/kcrypt/build.yaml @@ -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}}