Skip to content
Snippets Groups Projects
Commit 58b8b5a8 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

optionally build dev image

parent 52ee93b5
No related branches found
No related tags found
1 merge request!44simplify image for K8s deployments of the Lab
Pipeline #29043 waiting for manual action with stage
variables:
docker_registry_user: "robot$$gitlab"
stages:
- build
......@@ -14,3 +11,15 @@ build_image:
- tags
tags:
- shell-runner
build_latest_dev_image:
stage: build
script:
- docker build -f base/Dockerfile -t docker-registry.ebrains.eu/clb-jupyter-image/ebrains:dev-$CI_COMMIT_SHORT_SHA .
- docker login -u $docker_registry_user -p $docker_registry_prod_token docker-registry.ebrains.eu
- docker push docker-registry.ebrains.eu/clb-jupyter-image/ebrains:dev-$CI_COMMIT_SHORT_SHA
rules:
- if: $CI_COMMIT_BRANCH =~ /dev/
when: manual
tags:
- shell-runner
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