homepage/.drone.yml

23 lines
458 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
2020-10-10 03:19:49 +02:00
repo: kmlabz/homepage
tags:
- latest
- ${DRONE_BUILD_NUMBER}
2020-04-16 22:37:56 +02:00
registry: registry.kmlabz.com