22 lines
499 B
YAML
22 lines
499 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: PLATFORMS="rpi armv7hf aarch64 raspberry-pi raspberry-pi2 raspberrypi3 raspberrypi3-64 raspberrypi4" ./build.sh
|
|
|
|
build-x86-platforms:
|
|
tags:
|
|
- x86
|
|
script: PLATFORMS="i386 amd64" ./build.sh
|