prez-concepts-chill/.drone.yml

37 lines
981 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build-presentation
image: pandoc/minimal:2.18-alpine
commands:
- pandoc -t revealjs --resource-path=.:presentation/src/img:presentation/src/ -s presentation/src/index.md -o presentation/build/index.html
- name: build-docker-caddy
image: plugins/docker
settings:
dockerfile: presentation/Dockerfile
context: presentation/
registry: h3m6q87t.gra7.container-registry.ovh.net
username: dronecl
password:
from_secret: registry_password
repo: h3m6q87t.gra7.container-registry.ovh.net/vendeeformation/presentation
tag: latest
pull_image: true
---
kind: secret
name: registry_password
data: zoOxl9L0lYtZBWZAaW9derEWnnh0bjmVLDflxIWxRuRpJ4ucl+bc4rIPusMABeMwrCuqHFwVJfwbMFnVwkPMTkEmy3XS8Xr6rg=
---
kind: signature
hmac: 8b946abad45ea5acf0d56a5cf3c55c8e2bb3def2b95764788b72d218a5a8e53e
...