19 lines
492 B
YAML
19 lines
492 B
YAML
build_doxygen_docker:
|
|
image: docker:stable
|
|
services:
|
|
- docker:dind
|
|
stage: build
|
|
tags:
|
|
- docker
|
|
before_script:
|
|
- docker info
|
|
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
|
|
script:
|
|
- docker build -t "${CI_REGISTRY_IMAGE}/doxygen:$CI_COMMIT_BRANCH" -f ./doxygen/doxygen.Dockerfile .
|
|
- docker push "${CI_REGISTRY_IMAGE}/doxygen:$CI_COMMIT_BRANCH"
|
|
only:
|
|
refs:
|
|
- schedules
|
|
variables:
|
|
- $SCHEDULED_JOB_NAME == "doxygen"
|