Skip to content
Permalink
Browse files
Add support for multi-platform buildx builds
  • Loading branch information
potiuk committed Mar 9, 2022
1 parent bbca11f commit 5055a0a93e77d253fa86639fc5a4b2caed461837
Showing 2 changed files with 5 additions and 1 deletion.
@@ -29,3 +29,7 @@ plugins_dir="/home/runner/.docker/cli-plugins"
sudo -u runner mkdir -pv "${plugins_dir}"
sudo -u runner curl -L "https://github.com/docker/buildx/releases/download/${buildx_version}/${buildx_binary}" -o "${plugins_dir}/docker-buildx"
sudo -u runner chmod a+x "${plugins_dir}/docker-buildx"

# make sure multi-platform support is added for self-hosted runners
# See; https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images
sudo docker run --privileged --rm tonistiigi/binfmt --install all
@@ -16,7 +16,7 @@
# under the License.

vpc_id = "vpc-d73487bd"
ami_name = "airflow-runner-ami"
ami_name = "airflow-runner-ami-m"
aws_regions = ["eu-central-1", "us-east-2"]
packer_role_arn = "arn:aws:iam::827901512104:role/packer-role"
runner_version = "2.288.1-airflow1"

0 comments on commit 5055a0a

Please sign in to comment.