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

Docker Push with arm64 #189

Merged
merged 3 commits into from
Dec 1, 2022
Merged

Docker Push with arm64 #189

merged 3 commits into from
Dec 1, 2022

Conversation

wey-gu
Copy link
Contributor

@wey-gu wey-gu commented Nov 16, 2022

  • enable nightly docker build push
  • us v3 and buildx for docker build in release with arm64

close #188

This also fix the nebula-docker-compose console container error in Apple Chip macOS and Respberry Pi

- enable nightly docker build push
- us v3 and buildx for docker build in release with arm64
type=semver,pattern=v{{version}}
# v3.0
type=semver,pattern=v{{major}}.{{minor}}
# v3.0.0
Copy link
Contributor Author

@wey-gu wey-gu Nov 16, 2022

Choose a reason for hiding this comment

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

pattern={raw} will do the same job as type=semver,pattern=v{{major}}.{{minor}}, but I left it in this way as explicit seems to be better.

ref: https://github.com/docker/metadata-action

@codegladiator007
Copy link

Is there a specific reason why this cannot be merged? It seems to have passed all checks. Without this, we cannot run Nebula on Apple silicon at all. Thanks!

@wey-gu
Copy link
Contributor Author

wey-gu commented Dec 1, 2022

cc @jievince @yixinglu :)

Comment on lines 66 to 67
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Copy link
Contributor

Choose a reason for hiding this comment

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

Why need QEMU here?
Golang binary could be cross-compiled. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I blindly referred this from the previous PR, will remove this step :D

Copy link
Contributor

@jievince jievince left a comment

Choose a reason for hiding this comment

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

Good job!

Copy link
Contributor

@Aiee Aiee left a comment

Choose a reason for hiding this comment

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

Good job!

@Aiee Aiee merged commit 62005c7 into master Dec 1, 2022
@Aiee Aiee deleted the arm_docker_build branch December 1, 2022 03:11
@wey-gu
Copy link
Contributor Author

wey-gu commented Dec 1, 2022

Hey, @codegladiator007 now the nightly image is dual arch :) have fun!!!

Screenshot 2022-12-01 at 16 08 44

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.

docker image for arm64
4 participants