FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/.gitlab-ci.yml at feat/decode-to-string · python-gitlab/python-gitlab · GitHub
python-gitlab
python-gitlab
Repository navigation
Code
Issues
16
(16)
Pull requests
15
(15)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
.gitlab-ci.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (28 loc) · 1.3 KB
Breadcrumbs
python-gitlab
/
.gitlab-ci.yml
Copy path
File metadata and controls
31 lines (28 loc) · 1.3 KB
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
28
29
30
31
image
:
python:3.11
stages
:
-
deploy
-
promote
deploy-images
:
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
-
executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-alpine
-
executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-slim-bullseye --build-arg PYTHON_FLAVOR=slim-bullseye
rules
:
-
if
:
$CI_COMMIT_TAG
tag-latest
:
stage
:
promote
image
:
name
:
gcr.io/go-containerregistry/crane:debug
entrypoint
:
[""]
script
:
-
crane auth login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
crane tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-alpine ${CI_COMMIT_TAG}
#
/python-gitlab:v1.2.3
-
crane tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-alpine latest
#
/python-gitlab:latest
-
crane tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-alpine alpine
#
/python-gitlab:alpine
-
crane tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-slim-bullseye slim-bullseye
#
/python-gitlab:slim-bullseye
rules
:
-
if
:
$CI_COMMIT_TAG
Back
|
FazBrowse Home
|
New Git URL