Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clb-jupyter-nb-images
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
Lab
clb-jupyter-nb-images
Commits
58b8b5a8
Commit
58b8b5a8
authored
1 year ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
optionally build dev image
parent
52ee93b5
No related branches found
No related tags found
1 merge request
!44
simplify image for K8s deployments of the Lab
Pipeline
#29043
waiting for manual action with stage
Stage:
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-3
12 additions, 3 deletions
.gitlab-ci.yml
with
12 additions
and
3 deletions
.gitlab-ci.yml
+
12
−
3
View file @
58b8b5a8
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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment