Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Melodic
melodic-frontend
Commits
f70c8663
Commit
f70c8663
authored
Mar 17, 2020
by
Alicja Reniewicz
Browse files
Merge branch 'tag-from-branch-in-docker-image' into 'rc3.0'
Add tag to docker image See merge request
!3
parents
0f28a767
8b5e7e1b
Pipeline
#8034
passed with stages
in 9 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
f70c8663
stages
:
-
build-angular-ui
-
build-ui-docker
build-angular-ui
:
stage
:
build-angular-ui
image
:
trion/ng-cli
artifacts
:
paths
:
-
dist/melodic-frontend
before_script
:
-
npm install -g --save-dev @angular/cli@latest
-
npm install --save-dev --unsafe-perm node-sass
-
npm install
script
:
-
ng build --prod
build-ui-docker
:
stage
:
build-ui-docker
image
:
docker:19.03.1
services
:
-
docker:19.03.1-dind
variables
:
DOCKER_TLS_CERTDIR
:
"
/certs"
dependencies
:
-
build-angular-ui
script
:
-
docker login gitlab.ow2.org:4567 -u $K8S_SECRET_DOCKER_USER -p $K8S_SECRET_DOCKER_PASSWORD
-
docker build -t gitlab.ow2.org:4567/melodic/melodic-frontend:$CI_COMMIT_BRANCH .
-
docker push gitlab.ow2.org:4567/melodic/melodic-frontend:$CI_COMMIT_BRANCH
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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