FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab-python-gitlab/.gitlab-ci.yml at master · alvistack/python-gitlab-python-gitlab · GitHub
alvistack
python-gitlab-python-gitlab
Repository navigation
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab-python-gitlab
/
.gitlab-ci.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (24 loc) · 882 Bytes
Breadcrumbs
python-gitlab-python-gitlab
/
.gitlab-ci.yml
Copy path
File metadata and controls
27 lines (24 loc) · 882 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image
:
python:3.9
stages
:
-
deploy
-
deploy-latest
deploy_image
:
stage
:
deploy
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[""]
script
:
-
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
only
:
-
tags
deploy-latest
:
stage
:
deploy-latest
image
:
name
:
gcr.io/go-containerregistry/crane:debug
entrypoint
:
[""]
script
:
-
mkdir /root/.docker && echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /root/.docker/config.json
-
/ko-app/crane cp $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE:latest
only
:
-
tags
Back
|
FazBrowse Home
|
New Git URL