2022-07-10 18:41:45 +00:00
|
|
|
build_doxygen_docker:
|
|
|
|
image: docker:stable
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
stage: build
|
2023-05-06 12:20:56 +00:00
|
|
|
rules:
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_JOB_NAME == "doxygen"
|
2022-07-17 01:23:15 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
2022-07-10 18:41:45 +00:00
|
|
|
before_script:
|
|
|
|
- docker info
|
2023-04-27 22:35:30 +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"
|