26 lines
497 B
YAML
26 lines
497 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
trigger:
|
||
|
event:
|
||
|
- tag
|
||
|
|
||
|
steps:
|
||
|
- name: build-hugo-website
|
||
|
image: hugomods/hugo:latest
|
||
|
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
|
||
|
|
||
|
---
|