Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resolve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
resolve
Commits
48315520
Commit
48315520
authored
1 year ago
by
Jakob Roth
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_ci' into 'master'
fix ci See merge request
!45
parents
f945df23
9010e307
Branches
Branches containing commit
No related tags found
1 merge request
!45
fix ci
Pipeline
#179070
passed
1 year ago
Stage: build_docker
Stage: testing
Stage: release
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
48315520
image
:
$CONTAINER_TEST_IMAGE
variables
:
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/$CI_PROJECT_PATH:$CI_
BUILD
_REF_NAME
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/$CI_PROJECT_PATH:$CI_
COMMIT
_REF_NAME
GIT_SUBMODULE_STRATEGY
:
recursive
stages
:
...
...
@@ -17,7 +17,7 @@ build_docker_from_scratch:
before_script
:
-
ls
script
:
-
docker login -u gitlab-ci-token -p $CI_
BUILD
_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker login -u gitlab-ci-token -p $CI_
JOB
_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker build -t $CONTAINER_TEST_IMAGE --no-cache .
-
docker push $CONTAINER_TEST_IMAGE
...
...
@@ -29,7 +29,7 @@ build_docker_from_cache:
before_script
:
-
ls
script
:
-
docker login -u gitlab-ci-token -p $CI_
BUILD
_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker login -u gitlab-ci-token -p $CI_
JOB
_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker build -t $CONTAINER_TEST_IMAGE .
-
docker push $CONTAINER_TEST_IMAGE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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