Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DataCatalog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
eFlows4HPC WP2
DataCatalog
Commits
f1178d79
Commit
f1178d79
authored
3 years ago
by
Maria Petrova-El Sayed
Browse files
Options
Downloads
Patches
Plain Diff
Test git docker Repo
parent
09d47e71
No related branches found
No related tags found
2 merge requests
!3
Update .gitlab-ci.yml
,
!2
Merge CI/CD settings and get current progress on docker-compose
Pipeline
#71673
failed
3 years ago
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-11
11 additions, 11 deletions
.gitlab-ci.yml
with
11 additions
and
11 deletions
.gitlab-ci.yml
+
11
−
11
View file @
f1178d79
...
...
@@ -66,14 +66,14 @@ deploy:
# This should be an automatic push of the docker image into gitLab container repository
# Currently not working due to docker login failing because of firewall issues
#
transfer_image:
#
stage: transfer
#
image: docker:19.03.12
#
services:
#
- docker:19.03.12-dind
#
variables:
#
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
#
script:
#
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
#
- docker build --no-cache=true --pull -f ./apiserver/Dockerfile -t $IMAGE_TAG .
#
- docker push $IMAGE_TAG
transfer_image
:
stage
:
transfer
image
:
docker:19.03.12
services
:
-
docker:19.03.12-dind
variables
:
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build --no-cache=true --pull -f ./apiserver/Dockerfile -t $IMAGE_TAG .
-
docker push $IMAGE_TAG
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