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
Decoder
TESTAR_docker
Commits
31bce49e
Commit
31bce49e
authored
May 31, 2021
by
Fernando Pastor Ricos
Browse files
Create .gitlab-ci.yml file
parent
c5a6750d
Pipeline
#13496
failed with stages
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
31bce49e
stages
:
-
build-testar-api
-
build-testar-docker
build-testar-api
:
image
:
maven:3.6.3-openjdk-11
stage
:
build-testar-api
script
:
-
'
mvn
clean'
-
'
mvn
install'
build-testar-docker
:
image
:
docker:20.10.2
stage
:
build-testar-docker
services
:
-
docker:20.10.2-dind
variables
:
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script
:
-
echo $IMAGE_TAG
-
docker build -t $IMAGE_TAG .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $IMAGE_TAG
\ No newline at end of file
Write
Preview
Supports
Markdown
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