Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
morphodita
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
morphodita
Commits
a24ccf6f
Commit
a24ccf6f
authored
Jul 23, 2021
by
Bartosz Ziemba
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
bdbeba64
Branches
Branches containing commit
No related tags found
1 merge request
!2
update wsnlp version
Pipeline
#3319
passed
Jul 23, 2021
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-4
11 additions, 4 deletions
.gitlab-ci.yml
with
11 additions
and
4 deletions
.gitlab-ci.yml
+
11
−
4
View file @
a24ccf6f
...
...
@@ -12,16 +12,23 @@ before_script:
build_image
:
stage
:
build
image
:
docker:18.09.7
image
:
'
docker:18.09.7
'
only
:
-
master
services
:
-
docker:18.09.7-dind
-
'
docker:18.09.7-dind'
variables
:
DOCKERHUB_NAME
:
clarinpl/$CI_PROJECT_NAME
before_script
:
-
'
'
script
:
-
docker build -t
clarinpl/morphodita
.
-
docker build -t
$DOCKERHUB_NAME
.
-
echo $DOCKER_PASSWORD > pass.txt
-
cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
-
rm pass.txt
-
docker push clarinpl/morphodita
-
docker push $DOCKERHUB_NAME
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-
docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
-
docker push $CI_REGISTRY_IMAGE
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment