Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kszkepzes-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
DevTeam
kszkepzes
old
kszkepzes-backend
Commits
059220d9
Commit
059220d9
authored
4 years ago
by
Rafael László
Browse files
Options
Downloads
Plain Diff
Merge branch 'tormakris-master-
patch-12169
' into 'master'
push to docker hub as well See merge request
!5
parents
b29626e5
49f9f3ae
No related branches found
Branches containing commit
Tags
1.0.3
Tags containing commit
1 merge request
!5
push to docker hub as well
Pipeline
#5948
failed
4 years ago
Stage: Test and Flake8
Stage: Docker Build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-1
13 additions, 1 deletion
.gitlab-ci.yml
with
13 additions
and
1 deletion
.gitlab-ci.yml
+
13
−
1
View file @
059220d9
...
...
@@ -51,7 +51,7 @@ Flake8:
# - pip install -r requirements/production.txt
# - python src/manage.py test
Docker build
:
Docker build
to KSZK registry
:
stage
:
Docker Build
tags
:
[
kszk
]
only
:
...
...
@@ -63,6 +63,18 @@ Docker build:
-
echo "{\"auths\":{\"registry.kszk.bme.hu\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE
Docker build to Docker Hub registry
:
stage
:
Docker Build
tags
:
[
kszk
]
only
:
-
tags
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
'
'
]
script
:
-
echo "{\"auths\":{\"hub.docker.com\":{\"username\":\"$DOCKERHUB_USER\",\"password\":\"$DOCKERHUB_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE
Deploy to Kubernetes
:
stage
:
deploy
image
:
alpine
...
...
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