27 lines
481 B
YAML
27 lines
481 B
YAML
image: registry.gitlab.pztrn.name/containers/mirror/docker:19.03.13
|
|
|
|
services:
|
|
- name: registry.gitlab.pztrn.name/containers/mirror/docker:19.03.13-dind
|
|
alias: docker
|
|
|
|
variables:
|
|
DOCKER_HOST: tcp://docker:2375
|
|
DOCKER_TCP_PORT: 2375
|
|
DOCKER_TLS_CERTDIR: ""
|
|
|
|
stages:
|
|
- mirror
|
|
|
|
before_script:
|
|
- apk add bash
|
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
|
|
mirror:
|
|
stage: mirror
|
|
tags:
|
|
- docker
|
|
script:
|
|
- ./mirror.sh
|
|
only:
|
|
- master
|