gemini-agate-image/.drone.yml

17 lines
505 B
YAML
Raw Normal View History

2022-11-27 16:12:35 +00:00
---
kind: pipeline
type: docker
name: default
2022-11-27 16:22:30 +00:00
environment:
CI_REGISTRY: "git.valvin.fr"
CI_REGISTRY_USER: "valvin"
CI_REGISTRY_IMAGE: "git.valvin.fr/valvin/gemini-agate-image"
IMAGE_TAG: "latest"
2022-11-27 16:12:35 +00:00
steps:
- name: build_image
image: gcr.io/kaniko-project/executor:v1.7.0-debug
commands:
2022-11-27 16:25:34 +00:00
- echo \"init registry credentials\"
2022-11-27 16:12:35 +00:00
- mkdir -p /kaniko/.docker
- /kaniko/executor --context ${DRONE_WORKSPACE} --dockerfile ${DRONE_WORKSPACE}/Dockerfile --destination ${CI_REGISTRY_IMAGE}:${IMAGE_TAG}