Skip to content

Commit

Permalink
ci: set build name extra for fips-kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Nov 3, 2023
1 parent 2e772db commit 37ac8de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 37ac8de

Please sign in to comment.