20 lines
329 B
YAML
20 lines
329 B
YAML
image: docker:latest
|
|
|
|
stages:
|
|
- build
|
|
|
|
variables:
|
|
VERSION: latest-${ARCH}
|
|
CACHETAG: build-${ARCH}
|
|
DOCKER_HOST: tcp://docker:2375
|
|
|
|
services:
|
|
- docker:dind
|
|
|
|
before_script:
|
|
- docker info
|
|
- docker version
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
|
|
|
include: .gitlab-docker.yml
|