From 24f781ed7375c8bfe63fba696dbb9046cceb0637 Mon Sep 17 00:00:00 2001 From: Jono Hill Date: Sat, 27 Jul 2019 14:19:54 +1200 Subject: [PATCH] Update example yaml for 19.03 release changes --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index 9713136..32269ca 100644 --- a/readme.md +++ b/readme.md @@ -26,6 +26,9 @@ build: - docker:dind before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY + # Use docker-container driver to allow useful features (push/multi-platform) + - docker buildx create --driver docker-container --use + - docker buildx inspect --bootstrap script: - update-binfmts --enable # Important: Ensures execution of other binary formats is enabled in the kernel - docker buildx build --platform linux/arm/v7,local --pull -t "$CI_REGISTRY_IMAGE" --push .