From 37ac8de261144ede9a3d270761a02b4f782431c0 Mon Sep 17 00:00:00 2001 From: faiq Date: Fri, 3 Nov 2023 11:40:30 -0700 Subject: [PATCH] ci: set build name extra for fips-kernel --- magefile.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index e88349cc2..f109667db 100644 --- a/magefile.go +++ b/magefile.go @@ -265,7 +265,7 @@ func getOverridesFromBuildConfig(buildConfig string) []string { return nil case fipsKernel: - return []string{"fips.yaml", "fips-configure.yaml"} + return []string{"fips-configure.yaml", "fips.yaml"} case fips: return []string{"fips.yaml"} case nvidia: @@ -300,6 +300,8 @@ func getReleaseOverride(buildConfig string) (string, error) { case nvidia, offlineNvidia: // "-nvidia-release" buildNameExtra = fmt.Sprintf("-nvidia%s", buildNameExtra) + case fipsKernel: + buildNameExtra = fmt.Sprintf("-fips-kernel%s", buildNameExtra) } releaseFile := "release.yaml"