Commit bc69be6e authored by Christophe Benz's avatar Christophe Benz

Build Docker image for branch "next" too

parent 38c32193
Pipeline #1050 failed with stages
in 17 seconds
......@@ -10,6 +10,7 @@ Build Docker image:
changes:
- Dockerfile
refs:
- next
- tags
image: docker:stable
services:
......@@ -20,8 +21,8 @@ Build Docker image:
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
script:
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
tags:
- docker-privileged
......
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