37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
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/ -s presentation/src/index.md -o presentation/src/index.html
|
|
- pandoc -t revealjs --resource-path=.:presentation/src/ -s presentation/src/essaimage.md -o presentation/src/essaimage.html
|
|
|
|
- name: build-docker-caddy
|
|
image: plugins/docker
|
|
settings:
|
|
registry: h3m6q87t.gra7.container-registry.ovh.net
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: presentation/Dockerfile
|
|
context: presentation/
|
|
repo: h3m6q87t.gra7.container-registry.ovh.net/prez-concept-chill/presentation
|
|
tag: ${DRONE_TAG:=latest}
|
|
pull_image: true
|
|
when:
|
|
event:
|
|
- tag
|
|
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 77c0bfbc5571bf62138acc8bcf1fdb4abcc1185a5d26b190f7f6db98b2f09e59
|
|
|
|
...
|