Skip to content

🐛 octavia-cli: cross-platform builds (arm64 + amd64) #11226

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

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Mar 17, 2022

What

The current image was built from my M1, resulting into a arm64 image.
We need cross-platform builds to ship the CLI for arm64 and amd64 architecture.

How

  • Update the ./publish.sh script to:

    • Use docker buildx
    • Run the build, tag and push in a single command for arm64 and amd64
  • Update the README to pull 0.1.0 image and not dev

  • Push the cross platform build to docker hub:

Screen Shot 2022-03-17 at 09 52 52

🚨 User Impact 🚨

Users that might already have pulled 0.1.0 must run to pull the cross platform image.

docker pull airbyte/octavia-cli:0.1.0

or run

curl -o- https://raw.githubusercontent.com/airbytehq/airbyte/master/octavia-cli/install.sh | bash

@alafanechere alafanechere added this to the octavia-cli-alpha milestone Mar 17, 2022
@alafanechere alafanechere changed the title octavia-cli: cross platform builds 🐛 octavia-cli: cross platform builds Mar 17, 2022
@alafanechere alafanechere changed the title 🐛 octavia-cli: cross platform builds 🐛 octavia-cli: cross-platform builds (arm64 + amd64) Mar 17, 2022
@alafanechere alafanechere merged commit ca8022f into master Mar 18, 2022
@alafanechere alafanechere deleted the augustin/octavia-cli/cross-platform-build branch March 18, 2022 11:17
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.

🐙 octavia-cli: docker hub image airbyte/octavia-cli:0.1.0 built only for OS/Arch linux/arm64/v8
2 participants