Commit 183b1744 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Update to swakkd

parent ee847387
Pipeline #84011 failed with stages
in 5 seconds
image: "transit/kubectl-plus:v1.19.4"
image: "thlmylab/swakkd:1.23"
stages:
- prepare
......@@ -18,35 +18,19 @@ secrets:
grpc:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
only:
changes:
- .gitlab-ci.yml
- grpc/*
- grpc/*/*
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- cd grpc
- /kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/grpc: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
rest:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
only:
changes:
- .gitlab-ci.yml
- rest/*
- rest/*/*
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- cd rest
- /kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/rest: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
grpc-svc:
stage: deploy
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment