22 lines
494 B
YAML
22 lines
494 B
YAML
image: docker:latest
|
|
|
|
services:
|
|
- docker:dind
|
|
|
|
variables:
|
|
DOCKER_HOST: tcp://docker:2375/
|
|
DOCKER_DRIVER: overlay
|
|
DOCKER_TLS_CERTDIR: ""
|
|
|
|
before_script:
|
|
- echo ${CI_BUILD_TOKEN} | docker login -u gitlab-ci-token --password-stdin ${CI_REGISTRY}
|
|
|
|
build-arm-platforms:
|
|
tags:
|
|
- arm
|
|
script: ARCHS="rpi:raspberry-pi armv7hf:raspberry-pi2,raspberrypi3 aarch64:raspberrypi3-64,raspberrypi4-64" ./build.sh
|
|
|
|
build-x86-platforms:
|
|
tags:
|
|
- x86
|
|
script: ARCHS="i386 amd64" ./build.sh
|