Make the architecture match on all machines
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2022-11-20 13:54:49 -08:00
parent 98a3b26a27
commit da7830d0e3

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" {