Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cloud-native
lab-rest
Commits
2cd279ca
Commit
2cd279ca
authored
Mar 01, 2021
by
Nane Kratzke
Browse files
Merge branch 'master' of
https://git.mylab.th-luebeck.de/cloud-native/lab-rest
parents
d628a79d
f8ef2166
Pipeline
#29452
failed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
2cd279ca
stages
:
-
prepare
-
build
-
deploy
-
delete
secrets
:
stage
:
prepare
script
:
-
kubectl delete secret gitlab-registry-credentials ||
true
-
"
kubectl
create
secret
docker-registry
gitlab-registry-credentials
\
--docker-server=$CI_REGISTRY
\
--docker-username=image-registry
\
--docker-password=$REGISTRY_READ_TOKEN
\
"
container
:
stage
:
prepare
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
only
:
changes
:
-
.gitlab-ci.yml
-
api/*
-
api/*/*
script
:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context api --destination $CI_REGISTRY_IMAGE/api:latest
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