Make the architecture match on all machines
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2022-11-20 13:54:49 -08:00
parent 98a3b26a27
commit da7830d0e3
1 changed files with 4 additions and 0 deletions

View File

@ -594,6 +594,10 @@ func getBuildVars(ctx context.Context, script string, info *distro.OSRelease) (*
}
func archMatches(architectures []string) bool {
if slices.Contains(architectures, "all") {
return true
}
arch := runtime.GOARCH
if arch == "arm" {