Commit 7383a84c authored by David Blyth's avatar David Blyth

Gitlab CI: improved workflow

Runner now creates test tags for non-master branches.  For the master
branch, the image is assigned the "latest" tag.
parent 7a1614ae
Pipeline #17 passed with stage
in 1 second
...@@ -3,4 +3,12 @@ before_script: ...@@ -3,4 +3,12 @@ before_script:
build_image: build_image:
script: script:
- docker build -t argonneeic/base:testing --build-arg BUILD_THREADS=20 . - docker build -t argonneeic/base:$CI_COMMIT_REF_NAME --build-arg BUILD_THREADS=20 .
\ No newline at end of file only:
- branches
- docker build -t argonneeic/base --build-arg BUILD_THREADS=20 .
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment