Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xle-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tutoren
Formale Syntax
xle-docker
Commits
e27a6dd0
Commit
e27a6dd0
authored
2 years ago
by
Jakob Moser
Browse files
Options
Downloads
Patches
Plain Diff
Setup CI
parent
3528a818
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#4430
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+15
-0
15 additions, 0 deletions
.gitlab-ci.yml
LICENSE-3RD-PARTY.md
+8
-0
8 additions, 0 deletions
LICENSE-3RD-PARTY.md
with
23 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
15
−
0
View file @
e27a6dd0
# Taken and modified from https://docs.gitlab.com/ee/ci/docker/using_kaniko.html
# Licensed under CC BY-SA 4.0 (see LICENSE-3RD-PARTY.md)
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
docker-build
:
stage
:
build
before_script
:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
script
:
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
only
:
-
master
This diff is collapsed.
Click to expand it.
LICENSE-3RD-PARTY.md
0 → 100644
+
8
−
0
View file @
e27a6dd0
# Used third party content
*
`.gitlab-ci.yml`
file copied and modified from the GitLab Documentation
*
Title of the documentation page: "Building a Docker image with kaniko"
*
Author: (c) 2011-present GitLab B.V.
*
URL: https://docs.gitlab.com/ee/ci/docker/using_kaniko.html#building-a-docker-image-with-kaniko
*
License: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0)
*
Repository icon made by
[
Freepik
](
https://www.freepik.com
)
from
[
www.flaticon.com
](
https://www.flaticon.com/
)
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