17 lines
503 B
YAML
17 lines
503 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
environment:
|
|
CI_REGISTRY: "git.valvin.fr"
|
|
CI_REGISTRY_USER: "valvin"
|
|
CI_REGISTRY_IMAGE: "git.valvin.fr/valvin/gemini-agate-image"
|
|
IMAGE_TAG: "latest"
|
|
|
|
steps:
|
|
- name: build_image
|
|
image: gcr.io/kaniko-project/executor:v1.7.0-debug
|
|
commands:
|
|
- echo "init registry credentials"
|
|
- mkdir -p /kaniko/.docker
|
|
- /kaniko/executor --context ${DRONE_WORKSPACE} --dockerfile ${DRONE_WORKSPACE}/Dockerfile --destination ${CI_REGISTRY_IMAGE}:${IMAGE_TAG} |