mirror of
https://github.com/containers/podman.git
synced 2026-02-07 12:52:05 -05:00
Set architecture for validatepr builds
It was failing on darwin, because amd64 is no longer supported. "build constraints exclude all Go files" in pkg/machine/libkrun Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ build() {
|
||||
fi
|
||||
|
||||
echo "Building darwin"
|
||||
if ! GOOS=darwin CGO_ENABLED=0 go build -tags "$REMOTETAGS" -o bin/podman-remote-darwin ./cmd/podman; then
|
||||
if ! GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -tags "$REMOTETAGS" -o bin/podman-remote-darwin ./cmd/podman; then
|
||||
err+="\n - Darwin "
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user