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
client
Commits
ba8e2b38
Commit
ba8e2b38
authored
Oct 12, 2021
by
Lubomir Doležal
Browse files
add basic gitlab ci yaml
parent
7c3ae4ae
Pipeline
#17449
passed with stage
in 3 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
ba8e2b38
stages
:
-
deploy
variables
:
DOCKER_TLS_CERTDIR
:
"
"
deploy_latest
:
image
:
docker:20.10.8
services
:
-
docker:20.10.8-dind
stage
:
deploy
script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker build -t $CI_REGISTRY_IMAGE .
-
docker push $CI_REGISTRY_IMAGE:latest
except
:
-
tags
deploy
:
image
:
docker:20.10.8
services
:
-
docker:20.10.8-dind
stage
:
deploy
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 .
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
only
:
-
tags
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