Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
eTRANSAFE
pretox-relation-extraction
Commits
52e01d35
Commit
52e01d35
authored
Oct 04, 2021
by
jcorvi
Browse files
Update .gitlab-ci.yml
parent
77b6e1b0
Pipeline
#24847
failed with stage
in 2 minutes and 27 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
52e01d35
variables
:
variables
:
DOCKER_
USER
:
javicorvi
DOCKER_
REGISTRY
:
registry.gitlab.bsc.es
DOCKER_BUILD
:
$DOCKER_
USER
/$CI_PROJECT_
NAME
:$CI_COMMIT_REF_NAME
IMAGE_FULL_PATH
:
$DOCKER_
REGISTRY
/$CI_PROJECT_
PATH
:$CI_COMMIT_REF_NAME
stages
:
stages
:
-
build
-
build
build_docker_image
:
build_docker_image
:
stage
:
build
stage
:
build
script
:
script
:
-
docker login -u
javicorvi -p $DOCKER_PASS
-
docker login -u
gitlab-ci-token -p $CI_BUILD_TOKEN $DOCKER_REGISTRY
-
docker build -t $
DOCKER_BUILD
.
-
docker build -t $
IMAGE_FULL_PATH
.
-
docker push $
DOCKER_BUILD
-
docker push $
IMAGE_FULL_PATH
tags
:
tags
:
-
build
-
build
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