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: ...@@ -10,6 +10,7 @@ Build Docker image:
changes: changes:
- Dockerfile - Dockerfile
refs: refs:
- next
- tags - tags
image: docker:stable image: docker:stable
services: services:
...@@ -20,8 +21,8 @@ Build Docker image: ...@@ -20,8 +21,8 @@ Build Docker image:
before_script: before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
script: script:
- docker build -t $CI_REGISTRY_IMAGE:latest . - docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME .
- docker push $CI_REGISTRY_IMAGE:latest - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
tags: tags:
- docker-privileged - 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