EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
scheduler
Commits
b59f0a86
Commit
b59f0a86
authored
Nov 10, 2021
by
Nikola Jankovic
💻
Browse files
updated deploy to publish
helm only publishes on tags
parent
ccef9135
Pipeline
#18444
passed with stage
in 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b59f0a86
stages
:
-
test
-
deploy
-
publish
-
chart
variables
:
...
...
@@ -17,11 +17,11 @@ test:
-
flake8
-
mypy .
deploy
_latest
:
publish
_latest
:
image
:
docker:20.10.8
services
:
-
docker:20.10.8-dind
stage
:
deploy
stage
:
publish
script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker build -t $CI_REGISTRY_IMAGE .
...
...
@@ -29,11 +29,11 @@ deploy_latest:
only
:
-
master
deploy
:
publish
:
image
:
docker:20.10.8
services
:
-
docker:20.10.8-dind
stage
:
deploy
stage
:
publish
script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG .
...
...
@@ -50,4 +50,3 @@ helm:
-
curl -u $HELM_CHART_REPOSITORY_CREDENTIALS -v -X POST https://charts-public.hub.eox.at/api/charts --data-binary "@${upload_filename}"
only
:
-
tags
-
master
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