31 lines
584 B
YAML
31 lines
584 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|
|
|
|
steps:
|
|
- name: build-hugo
|
|
image: ariejan/drone-hugo
|
|
settings:
|
|
hugo_version: 0.65.3
|
|
|
|
- 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: ./Dockerfile
|
|
context: ./
|
|
repo: h3m6q87t.gra7.container-registry.ovh.net/chill_website
|
|
tag: ${DRONE_TAG:=latest}
|
|
pull_image: true
|
|
|
|
---
|