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

ci: switch to use cloud builders for native multi-arch support #7

Merged
merged 11 commits into from
Feb 13, 2024

Conversation

Nithos
Copy link
Contributor

@Nithos Nithos commented Feb 12, 2024

Initial test using the docker cloud builder for building and pushing multi-arch images.
This PR completely replaces the shared CI workflow with one that is set up to leverage Docker Cloud Builders. Secrets have been pushed to leverage the builder within its configuration. Fundamentally not much has changed other than 'where' the work is being done. Things to consider:

  1. This is experimental feature that has limited CI minutes (not GH CI minutes), please use sparingly.
  2. Triggers are set for push to main and tag
  3. Bake file updated to leverage the metadata action from the CI, local builds are still available.
  4. Removed the other bakefiles that were separated for individual architecture builds, simply use docker buildx bake for local builds leveraging local architecture

NOTE: If builds fail please notify me, we may have run through our allocated minutes
NOTE: There is an option that we could run local AMD builds on GH directly for testing, and only build both arch for prod use, but for now to keep things simply we are leveraging the cloud builder for all and its cache system.

@Nithos Nithos changed the title ci: initial cloud builder test ci: switch to use cloud builders for native multi-arch support Feb 12, 2024
@Nithos Nithos marked this pull request as ready for review February 12, 2024 20:20
@Nithos
Copy link
Contributor Author

Nithos commented Feb 12, 2024

image

@dgauldie dgauldie merged commit 54992de into main Feb 13, 2024
@fivegrant fivegrant deleted the cloud-builder branch February 20, 2024 20:13
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.

2 participants