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

Build multiplatform docker image #56

Merged
merged 3 commits into from
May 10, 2023

Conversation

an-tex
Copy link
Contributor

@an-tex an-tex commented May 10, 2023

build arm64 image in addition to the already setup amd64 platform

i've tested the workflow in my fork /~https://github.com/an-tex/eck-custom-resources/actions/runs/4937194206/jobs/8825667024 by pushing to my own docker repo https://hub.docker.com/r/antex/eck-custom-resources/tags and deploying into my arm64 cluster. the operator came up just fine :) i've tested the amd64 image on my local machine just to be sure we still build that too ;)

for more background around the Dockerfile changes https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/

while a was it it i've update the github action versions in the docker-publish workflow.

@xco-sk xco-sk added the enhancement New feature or request label May 10, 2023
Copy link
Owner

@xco-sk xco-sk left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@xco-sk xco-sk merged commit 6aac773 into xco-sk:main May 10, 2023
@xco-sk
Copy link
Owner

xco-sk commented May 10, 2023

Great stuff, thanks for the PR. Released in v0.5.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants