Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
simulators
RMIModelServer
Commits
7e9fb5fe
Commit
7e9fb5fe
authored
Oct 02, 2019
by
Hengwen Zhang
Browse files
Publish docker image only in master branch
parent
49330b0b
Pipeline
#189986
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7e9fb5fe
...
...
@@ -30,6 +30,9 @@ masterJobLinux:
-
master
tags
:
-
se
artifacts
:
paths
:
-
install/rmi-model-server.jar
masterJobWindows
:
stage
:
build
...
...
@@ -60,11 +63,8 @@ BranchJobLinux:
-
master
tags
:
-
se
artifacts
:
paths
:
-
install/rmi-model-server.jar
Branch
JobDocker
:
master
JobDocker
:
image
:
docker:dind
stage
:
docker
before_script
:
...
...
@@ -78,3 +78,5 @@ BranchJobDocker:
-
docker tag rmi-server:latest $CI_REGISTRY_IMAGE:latest
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
-
docker push $CI_REGISTRY_IMAGE:latest
only
:
-
master
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment