2022-07-10 18:41:45 +00:00
|
|
|
build_doxygen_docker:
|
|
|
|
image: docker:stable
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
stage: build
|
|
|
|
before_script:
|
|
|
|
- docker info
|
|
|
|
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" "$CI_REGISTRY"
|
|
|
|
script:
|
2022-07-10 21:54:42 +00:00
|
|
|
- docker build -t "${CI_REGISTRY_IMAGE}/doxygen:$CI_COMMIT_BRANCH" -f ./doxygen/doxygen.Dockerfile .
|
|
|
|
- docker push "${CI_REGISTRY_IMAGE}/doxygen:$CI_COMMIT_BRANCH"
|
2022-07-10 18:41:45 +00:00
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- schedules
|
|
|
|
variables:
|
|
|
|
- $SCHEDULED_JOB_NAME == "doxygen"
|