Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
morfeusz
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
lexworkers
morfeusz
Commits
417190c6
Commit
417190c6
authored
1 year ago
by
Bartosz Walkowiak
Browse files
Options
Downloads
Plain Diff
Merge branch 'gitlab-registry' into 'master'
Gitlab registry See merge request
!3
parents
bdae9fca
a3fa096f
Branches
master
1 merge request
!3
Gitlab registry
Pipeline
#13458
passed with stages
in 9 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-5
4 additions, 5 deletions
.gitlab-ci.yml
with
4 additions
and
5 deletions
.gitlab-ci.yml
+
4
−
5
View file @
417190c6
...
...
@@ -20,13 +20,12 @@ build_image:
image
:
'
docker:18.09.7'
only
:
-
master
-
gitlab-registry
services
:
-
'
docker:18.09.7-dind'
before_script
:
-
'
'
script
:
-
docker build -t clarinpl/morfeusz .
-
echo $DOCKER_PASSWORD > pass.txt
-
cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
-
rm pass.txt
-
docker push clarinpl/morfeusz
-
docker build -t $CI_REGISTRY_IMAGE .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE
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