Skip to content

Commit 4b23d89

Browse files
authored
Add amd64 architecture to config.json (#1137)
use amd64 acrchitectre by default when building. this would enable you to build the buildpack package on a arm machine
1 parent 22f944a commit 4b23d89

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
}
1717
]
1818
}
19-
}
19+
}

scripts/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function main() {
2929

3030
CGO_ENABLED=0 \
3131
GOOS="${os}" \
32+
GOARCH=amd64 \
3233
go build \
3334
-mod vendor \
3435
-ldflags="-s -w" \
@@ -38,4 +39,4 @@ function main() {
3839
done
3940
}
4041

41-
main "${@:-}"
42+
main "${@:-}"

0 commit comments

Comments
 (0)