EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Data Handling
core
Commits
629d2fdd
Commit
629d2fdd
authored
3 years ago
by
Nikola Jankovic
Browse files
Options
Downloads
Patches
Plain Diff
added services to deploy
parent
7d04da29
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#17413
failed
3 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-2
6 additions, 2 deletions
.gitlab-ci.yml
with
6 additions
and
2 deletions
.gitlab-ci.yml
+
6
−
2
View file @
629d2fdd
...
...
@@ -11,21 +11,25 @@ test:
-
pytest
deploy_latest
:
services
:
-
docker:20.10.8-dind
image
:
docker:20.10.8-dind
stage
:
deploy
script
:
-
docker build -t registry.gitlab.eox.at/vs/core .
-
docker build -t registry.gitlab.eox.at/vs/core .
|| exit 1;
-
docker push registry.gitlab.eox.at/vs/core:latest
except
:
-
tags
deploy
:
image
:
docker:20.10.8-dind
services
:
-
docker:20.10.8-dind
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
stage
:
deploy
script
:
-
docker build --cache-from registry.gitlab.eox.at/vs/core:latest -t registry.gitlab.eox.at/vs/core .
-
docker build --cache-from registry.gitlab.eox.at/vs/core:latest -t registry.gitlab.eox.at/vs/core .
|| exit 1;
-
docker push registry.gitlab.eox.at/vs/core:$CI_COMMIT_REF_NAME
only
:
-
tags
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