Replace deprecated GitLab CI variable
The CI_BUILD_TOKEN was deprecated by GitLab and will be removed in GitLab 16.0. It was replaced by the CI_JOB_TOKEN varaible (https://docs.gitlab.com/ee/update/deprecations?removal_milestone=16.0#ci_build_-predefined-variables)
This commit is contained in:
parent
ae7456e055
commit
ea0a30fb19
|
@ -7,7 +7,7 @@ build_doxygen_docker:
|
|||
- docker
|
||||
before_script:
|
||||
- docker info
|
||||
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" "$CI_REGISTRY"
|
||||
- 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"
|
||||
|
|
Loading…
Reference in New Issue