Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anonymizer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
anonymizer
Commits
ad95f831
Commit
ad95f831
authored
3 years ago
by
Bartosz Ziemba
Browse files
Options
Downloads
Patches
Plain Diff
Added local registery
parent
dfc755e6
Branches
Branches containing commit
No related merge requests found
Pipeline
#3036
passed with stages
in 2 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+38
-32
38 additions, 32 deletions
.gitlab-ci.yml
with
38 additions
and
32 deletions
.gitlab-ci.yml
+
38
−
32
View file @
ad95f831
image
:
'
clarinpl/python:3.6'
cache
:
paths
:
-
.tox
stages
:
-
check_style
-
build
before_script
:
-
pip install tox==2.9.1
pep8
:
stage
:
check_style
script
:
-
tox -v -e pep8
docstyle
:
stage
:
check_style
script
:
-
tox -v -e docstyle
build_image
:
stage
:
build
image
:
'
docker:18.09.7'
only
:
-
master
services
:
-
'
docker:18.09.7-dind'
before_script
:
-
'
'
script
:
-
docker build -t clarinpl/anonymizer .
-
echo $DOCKER_PASSWORD > pass.txt
-
cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
-
rm pass.txt
-
docker push clarinpl/anonymizer
image
:
'
clarinpl/python:3.6'
cache
:
paths
:
-
.tox
stages
:
-
check_style
-
build
before_script
:
-
pip install tox==2.9.1
pep8
:
stage
:
check_style
script
:
-
tox -v -e pep8
docstyle
:
stage
:
check_style
script
:
-
tox -v -e docstyle
build_image
:
stage
:
build
image
:
'
docker:18.09.7'
only
:
-
master
services
:
-
'
docker:18.09.7-dind'
variables
:
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
before_script
:
-
'
'
script
:
-
docker build -t clarinpl/anonymizer .
-
echo $DOCKER_PASSWORD > pass.txt
-
cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
-
rm pass.txt
-
docker push clarinpl/anonymizer
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build -t $IMAGE_TAG .
-
docker push $IMAGE_TAG
This diff is collapsed.
Click to expand it.
Preview
0%
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