Update example yaml for 19.03 release changes

This commit is contained in:
Jono Hill
2019-07-27 14:19:54 +12:00
parent 8a4090a8bd
commit 24f781ed73

View File

@ -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 .