24 lines
417 B
YAML
24 lines
417 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
steps:
|
|
- name: test
|
|
image: plugins/hugo
|
|
settings:
|
|
validate: true
|
|
pull: always
|
|
source: blog/
|
|
|
|
- name: docker_push
|
|
image: plugins/docker
|
|
when:
|
|
branch: master
|
|
event: push
|
|
settings:
|
|
username: sthopeless
|
|
password:
|
|
from_secret: docker_password
|
|
repo: sthopeless/hugo_template
|
|
registry:
|
|
tags: latest |