36 lines
904 B
YAML
36 lines
904 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/ -s presentation/src/index.md -o presentation/src/index.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: 94e0deac2fd11cf7bd57e9c0bbc11c84f43c4254f7a583ae403b109bf8a0e5b0
|
|
|
|
...
|