homepage/.drone.yml

21 lines
423 B
YAML
Raw Normal View History

2020-02-01 18:58:07 +01:00
kind: pipeline
type: docker
2020-04-16 22:33:13 +02:00
name: html_website
2020-02-01 18:58:07 +01:00
steps:
2020-02-01 19:04:14 +01:00
- name: html_validate
2020-02-01 18:58:07 +01:00
image: ubuntu
commands:
2020-02-01 22:10:59 +01:00
- apt-get update && apt-get install -y tidy
2020-04-16 22:37:56 +02:00
- tidy -imu index.html || true
- name: kaniko
image: banzaicloud/drone-kaniko
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: tormakris/homepage
tags: latest
registry: registry.kmlabz.com