BadDaemons/.drone.yml

39 lines
745 B
YAML

---
kind: pipeline
name: default
steps:
- name: Download submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: "Test: Build web"
image: plugins/hugo
settings:
hugo_version: 0.74.3
url: https://test.daemons.it
validate: true
when:
event: push
branch:
- master
- testing
- name: "Test: Build docker image"
image: banzaicloud/drone-kaniko
settings:
username:
from_secret: docker_user
password:
from_secret: docker_password
repo: baddaemons
registry:
from_secret: docker_registry
tags: testing
when:
event: push
branch:
- master
- testing