prez-concepts-chill/.drone.yml
Julien Fastré c41b93c4cf
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Deploy: store secrets in repository
2022-12-13 10:54:27 +01:00

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
...