[v9.3.x] Build: Add CloudMode to build versions (#65988)

Build: Add CloudMode to build versions (#65651)

* Add CloudMode to build versions

* Use linux-amd64 variant without musl for cloud mode

* Add cloud mode to version folder on package upload

* Use musl variant for CloudMode

* Only sign rpm packages if there's any to sign

* Remove trailing whitespace

(cherry picked from commit 8f282b8a6e)

Co-authored-by: Guilherme Caulada <guilherme.caulada@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2023-04-05 11:38:14 +03:00
committed by GitHub
co-authored by Guilherme Caulada
parent c9882623f5
commit 1d0c19ff5c
5 changed files with 55 additions and 22 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ func getVersionFolder(cfg uploadConfig, event string) (string, error) {
return releaseFolder, nil
case config.MainMode, config.DownstreamMode:
return mainFolder, nil
case config.ReleaseBranchMode:
case config.ReleaseBranchMode, config.CloudMode:
return releaseBranchFolder, nil
default:
// Corner case for custom enterprise2 mode