Skip to content
Snippets Groups Projects
Verified Commit 671072ac authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Use gitlab container registry.

parent 3c7ca220
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,12 @@ stages:
- test
- package
variables:
CONTAINER_GCC_IMAGE: $CI_REGISTRY_IMAGE:gcc-$CI_COMMIT_REF_SLUG
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
include:
- local: '/scripts/ci/extends/container-maker-setup.yml'
- local: '/scripts/ci/jobs/build_image.yml'
......
......@@ -6,7 +6,7 @@ build:
CTEST_NUM_THREADS: '4'
CTEST_LARGE_NUM_THREADS: '3'
image:
name: ogs6/gcc
name: $CONTAINER_GCC_IMAGE
entrypoint:
- '/usr/bin/env'
- 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
......
......@@ -9,5 +9,8 @@ build_image:
GIT_STRATEGY: fetch
extends: .container-maker-setup
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# --jenkins? --gui?
- python ThirdParty/container-maker/ogscm/cli.py -B --ogs off --pm system --cvode --cppcheck --docs --gcovr
- python ThirdParty/container-maker/ogscm/cli.py --build --gitlab
--ogs off --pm system --cvode --cppcheck --docs --gcovr
--tag $CONTAINER_GCC_IMAGE --upload
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment