Update example yaml for 19.03 release changes
This commit is contained in:
@ -26,6 +26,9 @@ build:
|
|||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- 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:
|
script:
|
||||||
- update-binfmts --enable # Important: Ensures execution of other binary formats is enabled in the kernel
|
- 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 .
|
- docker buildx build --platform linux/arm/v7,local --pull -t "$CI_REGISTRY_IMAGE" --push .
|
||||||
|
Reference in New Issue
Block a user