-
Notifications
You must be signed in to change notification settings - Fork 102
Build Multi-Arch Images 📦 #499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8689452
to
ce6874d
Compare
0fe7d3b
to
eebf9ea
Compare
eebf9ea
to
ce6874d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timuthy Thanks for the PR! Overall LGTM, along with a suggestion. PTAL
@@ -50,23 +50,9 @@ VERSION_FILE="$(${READLINK_BIN} -f "${SOURCE_PATH}/VERSION")" | |||
VERSION="$(cat "${VERSION_FILE}")" | |||
GIT_SHA=$(git rev-parse --short HEAD || echo "GitNotFound") | |||
|
|||
# If no LOCAL_BUILD environment variable is set, we configure the `go build` command | |||
# to build for linux OS, amd64 architectures and without CGO enablement. | |||
if [[ -z "$LOCAL_BUILD" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're removing the check for LOCAL_BUILD
env var, do we remove the make build-local
target as well? Since both the targets essentially run the same go build
command now. Or do we still retain that for legacy purposes and remove it later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd vote for leaving make build-local
as is for legacy purposes and removing it in the next release
What this PR does / why we need it:
This PR lets the CI pipeline build multi-arch images including
linux/amd64
andlinux/arm64
images.Which issue(s) this PR fixes:
Fixes partly #gardener/gardener#6258
Release note: