BadDaemons/.drone.yml

39 lines
745 B
YAML
Raw Permalink Normal View History

2018-08-22 22:37:33 +02:00
---
2020-08-20 22:28:10 +02:00
kind: pipeline
name: default
steps:
- name: Download submodules
image: alpine/git
2019-01-19 00:36:44 +01:00
commands:
2020-08-20 22:28:10 +02:00
- 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
2019-01-19 00:36:44 +01:00
when:
event: push
2020-08-20 22:28:10 +02:00
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
2018-08-22 22:37:33 +02:00
when:
event: push
2020-08-20 22:28:10 +02:00
branch:
- master
- testing