Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There some complexity with buildx tagging for multiarch builds: docker/buildx#166 The upshot of it is that we have to invoke `docker buildx build` three times, once to build both archs and another time to tag just the current arch. We use this tag in the test function invoked later in the build script. Finally, for pushing to ECR, we need to invoke it again with the `--push` argument. Fortunately the docker layer cache should ensure the 2nd and 3rd builds are rather quick.
- Loading branch information