2022-07-10 18:41:45 +00:00
|
|
|
build_doxygen_docker:
|
|
|
|
image: docker:stable
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
stage: build
|
2022-07-17 01:23:15 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
2022-07-10 18:41:45 +00:00
|
|
|
before_script:
|
|
|
|
- docker info
|
2023-05-15 14:28:27 +00:00
|
|
|
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
|
2022-07-10 18:41:45 +00:00
|
|
|
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:
|
2022-07-17 01:23:15 +00:00
|
|
|
- $SCHEDULED_JOB_NAME == "doxygen"
|