Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cloud-native
lab-rest
Commits
f221f043
Commit
f221f043
authored
Apr 13, 2022
by
Nane Kratzke
Browse files
Update to swakkd
parent
036ecb31
Pipeline
#84010
failed with stages
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f221f043
image
:
"
t
ransit/kubectl-plus:v1.19.4
"
image
:
"
t
hlmylab/swakkd:1.23
"
stages
:
-
prepare
...
...
@@ -18,19 +18,11 @@ secrets:
container
:
stage
:
build
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
-
cd api
-
/kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/api:latest
-
img login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
img build -t $CI_REGISTRY_IMAGE/api:latest .
-
img push $CI_REGISTRY_IMAGE/api:latest
api
:
stage
:
deploy
...
...
Write
Preview
Supports
Markdown
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