Commit 4bfe5bba authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Merge branch 'dev' into 'master'

Dev to master

See merge request !4
parents 7e13b837 153aa1f8
Pipeline #22300 passed with stages
in 1 minute and 13 seconds
stages:
- build
- test
- release
k8s:
stage: build
......@@ -10,6 +11,7 @@ k8s:
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"transit\",\"password\":\"$DOCKER_PUSH_TOKEN\"}}}" > /kaniko/.docker/config.json
- export VERSION="$(wget -qO- https://storage.googleapis.com/kubernetes-release/release/stable.txt)"
- /kaniko/executor --context . --destination transit/kubectl-plus:$CI_COMMIT_REF_NAME
test:
......@@ -19,3 +21,17 @@ test:
- kubectl --help
- helm --help
- mo
publish:
stage: release
only:
refs:
- master
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"transit\",\"password\":\"$DOCKER_PUSH_TOKEN\"}}}" > /kaniko/.docker/config.json
- export VERSION="$(wget -qO- https://storage.googleapis.com/kubernetes-release/release/stable.txt)"
- /kaniko/executor --context . --destination transit/kubectl-plus:$CI_COMMIT_REF_NAME --destination transit/kubectl-plus:$VERSION --destination transit/kubectl-plus:latest
Markdown is supported
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