|
|
@ -1,17 +1,13 @@
|
|
|
|
pipeline:
|
|
|
|
pipeline:
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
image: alpine:edge
|
|
|
|
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- sed -i 's@<VERSION>@${VERSION}@' Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docker:
|
|
|
|
docker:
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
|
repo: bunix42/google-cloud-sdk
|
|
|
|
repo: bunix42/google-cloud-sdk
|
|
|
|
build_args:
|
|
|
|
build_args:
|
|
|
|
- BASE_IMAGE=google/cloud-sdk:${VERSION}
|
|
|
|
- BASE_IMAGE=google/cloud-sdk:${VERSION}
|
|
|
|
|
|
|
|
- KUBECTL_VERSION=${KUBECTL_VERSION}
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- ${VERSION}
|
|
|
|
- ${VERSION}_kubectl-${KUBECTL_VERSION}
|
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
branch: master
|
|
|
@ -19,3 +15,7 @@ pipeline:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
VERSION:
|
|
|
|
VERSION:
|
|
|
|
- 193.0.0-alpine
|
|
|
|
- 193.0.0-alpine
|
|
|
|
|
|
|
|
KUBECTL_VERSION:
|
|
|
|
|
|
|
|
- v1.9.10
|
|
|
|
|
|
|
|
- v1.10.7
|
|
|
|
|
|
|
|
- v1.11.2
|
|
|
|