stages: - build - build-manifest variables: VERSION: latest DOCKER_HOST: tcp://docker:2375 VERSIONARCH: ${VERSION}-${ARCH} cache: key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG} paths: - build-cache image: docker:latest services: - docker:dind before_script: - if [ ! -d build-cache ]; then mkdir build-cache; fi - docker info && docker version - echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin include: - .gitlab-docker-x86_64.yml # .gitlab-docker-armv7l.yml - .gitlab-docker-manifest.yml