pipeline: build: image: alpine:edge commands: - sed -i 's@@${VERSION}@' Dockerfile docker: image: plugins/docker repo: bunix42/google-cloud-sdk build_args: - BASE_IMAGE=google/cloud-sdk:${VERSION} tags: - ${VERSION} secrets: [ docker_username, docker_password ] when: branch: master matrix: VERSION: - 193.0.0-alpine