Skip to content
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

fix: arm64 build #1911

Merged
merged 1 commit into from
Jan 3, 2024
Merged

fix: arm64 build #1911

merged 1 commit into from
Jan 3, 2024

Conversation

mloiseleur
Copy link
Contributor

What is the problem I am trying to address?

Current arm64 docker image contains an arm64 binary (athens-proxy) and an amd64 binary (go).

How is the fix applied?

I manage to make a build on a private repo and use it on a kubernetes cluster with arm64 nodes.

I used the same kind of command than the one already configured in GH action:

docker buildx build --build-arg VERSION=v0.13.0 --file cmd/proxy/Dockerfile   --platform linux/amd64,linux/arm64 --tag ${MY_REGISTRY}/athens:v0.13.0-test --push .

What GitHub issue(s) does this PR fix or close?

Fixes #1910
Follow up of #1862

@mloiseleur mloiseleur requested a review from a team as a code owner January 3, 2024 14:58
Copy link
Member

@DrPsychick DrPsychick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I built the container on amd64 and tested it on arm64

@DrPsychick DrPsychick merged commit 43d56f0 into gomods:main Jan 3, 2024
11 checks passed
@DrPsychick DrPsychick added this to the 0.13.1 milestone Jan 3, 2024
@mloiseleur mloiseleur deleted the fix/multi-arch-build branch January 3, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

arm64 build of v0.13.0 can not work
2 participants