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

Support multiarch docker image builds #970

Merged
merged 7 commits into from
Aug 7, 2021
Merged

Conversation

yorinasub17
Copy link
Contributor

I just got the M1 Macbook, and almost everything works except for Terratest tests that require pushing an image to AWS to run on amd64 machines (e.g., ECS Deploy Runner).

This PR updates the build functions in terratest to support multiarchitecture builds using the buildx command that docker desktop supports.

@yorinasub17 yorinasub17 requested a review from brikis98 as a code owner August 5, 2021 17:53
@@ -1,9 +1,12 @@
package aws
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a bonus test stability fix I rolled in so I can get a green build.

Copy link
Contributor

@zackproser zackproser left a comment

Choose a reason for hiding this comment

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

LGTM

@yorinasub17
Copy link
Contributor Author

Thanks for review! Going to merge this in now.

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