Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Provide the agent on an Ubuntu 22.04 image.
There were some complications with building a multiarch image for Ubuntu 22.04.
The version of qemu on the agent's instance is out of date an this is the most likely reason for the failure.
We attempted to solve this at the Elastic CI Stack level, but to no avail.
We had more success with upgrading binfmt in the build script, so that is what we do in this PR.
For more details about the solution see docker/buildx#314.