kind: pipeline
type: docker
name: html_website
steps:
- name: html_validate
image: ubuntu
commands:
- apt-get update && apt-get install -y tidy
- 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