Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Simon Volpert
pandas
Commits
eb11c2da
Commit
eb11c2da
authored
May 10, 2021
by
Simon Volpert
🐧
Browse files
Merge branch 'kaniko' into 'main'
CI See merge request
!1
parents
b1c913ed
f5d68ada
Pipeline
#117208
failed with stage
in 43 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
.gitlab-ci.yml
.gitlab-ci.yml
+1
-4
Dockerfile
Dockerfile
+1
-1
No files found.
.gitlab-ci.yml
View file @
eb11c2da
build
:
stage
:
build
image
:
...
...
@@ -7,6 +6,4 @@ build:
script
:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
rules
:
-
if
:
$CI_COMMIT_TAG
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
Dockerfile
View file @
eb11c2da
FOM python:3-
alpine3.13
F
R
OM
python:3-
slim-buster
COPY
requirements.txt ./
RUN
pip
install
--no-cache-dir
-r
requirements.txt
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