Commit 78133100 authored by Thomas Downes's avatar Thomas Downes

Fix docker image builds on master branch

parent bbf85c79
Pipeline #41220 passed with stages
in 30 seconds
...@@ -10,10 +10,12 @@ stages: ...@@ -10,10 +10,12 @@ stages:
- branch - branch
- latest - latest
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
branch_image: branch_image:
stage: branch stage: branch
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $DOCKER_BRANCH . - docker build --pull -t $DOCKER_BRANCH .
- docker push $DOCKER_BRANCH - docker push $DOCKER_BRANCH
......
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