Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Cloud
MAS
clonemap
Commits
f508dd40
Commit
f508dd40
authored
Feb 13, 2021
by
Stefan Dähling
Browse files
add ams deploy to ci
parent
5125c0c1
Pipeline
#409925
passed with stages
in 4 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f508dd40
stages
:
-
build
# - test
#
- deploy
-
deploy
amsbuild
:
stage
:
build
...
...
@@ -100,15 +100,17 @@ stubbuild:
# # - cd pkg/logger
# # - CGO_ENABLED=0 go test -coverpkg=./...
# amsdeploy:
# stage: deploy
# only:
# - master
# - develop
# script:
# - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.git.rwth-aachen.de
# - docker tag ams registry.git.rwth-aachen.de/acs/public/cloud/mas/clonemap/ams
# - docker push registry.git.rwth-aachen.de/acs/public/cloud/mas/clonemap/ams
amsdeploy
:
stage
:
deploy
image
:
docker:19.03.12
only
:
-
master
-
develop
script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.git.rwth-aachen.de
-
docker build -f build/docker/ams/Dockerfile -t ams .
-
docker tag ams registry.git.rwth-aachen.de/acs/public/cloud/mas/clonemap/ams
-
docker push registry.git.rwth-aachen.de/acs/public/cloud/mas/clonemap/ams
# agencydeploy:
# stage: deploy
...
...
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