Commit 15a1721c authored by James Alexander Clark PhD's avatar James Alexander Clark PhD
Browse files

minor fixes to CI script

parent 4ec723fd
......@@ -10,10 +10,13 @@ stages:
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
build:test:
build:$suffix:
image: docker:latest
stage: build
script:
- suffix=$(echo $CI_COMMIT_BRANCH | cut -d "-" -f 2)
- docker build --rm --no-cache -t $RIFT_IMAGE:$suffix --file Dockerfile .
- docker push $RIFT_IMAGE:$suffix
only:
changes:
- Dockerfile
Supports Markdown
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