feat: use docker buildx in order to build a multi-arch docker image

Note: this also automagically pushes the images using buildx as they are
not imported to the actual docker system anymore.

Signed-off-by: Matthias Riegler <matthias.riegler@traefik.io>
This commit is contained in:
Matthias Riegler 2021-12-14 12:41:40 +01:00
parent b2d26d9dce
commit 84191b4983
No known key found for this signature in database
GPG key ID: 254E6476CD29C625
2 changed files with 14 additions and 31 deletions

View file

@ -1,8 +0,0 @@
#!/bin/bash
push_image_to_registry() {
local target_tag=$1
echo "⏫ Pushing '${target_tag}'"
$DRY docker push "${target_tag}"
echo "✅ Finished pushing the Docker image '${target_tag}'."
}