Skip to content
Snippets Groups Projects
Commit 426af39d authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

build docker image on branches

parent 942577f7
No related branches found
No related tags found
1 merge request!18Draft: Portable docker image
Pipeline #115542 failed
Pipeline: preprocessing-cwl

#115543

    ...@@ -45,8 +45,8 @@ docker_build: ...@@ -45,8 +45,8 @@ docker_build:
    image: docker:latest image: docker:latest
    tags: tags:
    - dind - dind
    rules: # rules:
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_REF_PROTECTED == "true"' # - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_REF_PROTECTED == "true"'
    script: script:
    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
    - docker build -f docker/pipeline/Dockerfile . --tag $CI_REGISTRY_IMAGE/preprocess:$CI_COMMIT_SHORT_SHA - docker build -f docker/pipeline/Dockerfile . --tag $CI_REGISTRY_IMAGE/preprocess:$CI_COMMIT_SHORT_SHA
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment