Make the architecture match on all machines
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
98a3b26a27
commit
da7830d0e3
4
build.go
4
build.go
|
@ -594,6 +594,10 @@ func getBuildVars(ctx context.Context, script string, info *distro.OSRelease) (*
|
||||||
}
|
}
|
||||||
|
|
||||||
func archMatches(architectures []string) bool {
|
func archMatches(architectures []string) bool {
|
||||||
|
if slices.Contains(architectures, "all") {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
arch := runtime.GOARCH
|
arch := runtime.GOARCH
|
||||||
|
|
||||||
if arch == "arm" {
|
if arch == "arm" {
|
||||||
|
|
Loading…
Reference in New Issue