Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
nlpworkers
anonymizer
Commits
4a70c3de
Commit
4a70c3de
authored
Jun 07, 2021
by
Bartosz Ziemba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
6b177c25
Pipeline
#3044
passed with stages
in 2 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
.gitlab-ci.yml
.gitlab-ci.yml
+3
-5
No files found.
.gitlab-ci.yml
View file @
4a70c3de
...
...
@@ -22,9 +22,6 @@ build_image:
-
master
services
:
-
'
docker:18.09.7-dind'
variables
:
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
LATEST_TAG
:
$CI_REGISTRY_IMAGE:latest
before_script
:
-
'
'
script
:
...
...
@@ -34,6 +31,7 @@ build_image:
-
rm pass.txt
-
docker push clarinpl/anonymizer
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build -t $IMAGE_TAG -t $LATEST_TAG .
-
docker push --all-tags $IMAGE_TAG
-
docker image tag clarinpl/anonymizer $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-
docker image tag clarinpl/anonymizer $CI_REGISTRY_IMAGE:latest
-
docker push $CI_REGISTRY_IMAGE
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