lector-drone/.drone.yml

25 lines
524 B
YAML
Raw Normal View History

2021-04-16 10:40:59 +02:00
---
kind: pipeline
type: docker
2021-04-18 22:47:11 +02:00
name: build_lektor
2021-04-16 10:40:59 +02:00
steps:
2021-04-18 23:07:57 +02:00
- name: env
2021-04-18 22:51:27 +02:00
image: busybox
2021-04-18 23:07:57 +02:00
environment:
DOCKER_USERNAME:
2021-04-18 23:24:41 +02:00
from_secret: "docker_username"
2021-04-18 23:07:57 +02:00
DOCKER_PASSWORD:
2021-04-18 23:24:41 +02:00
from_secret: "docker_password"
2021-04-18 22:51:27 +02:00
commands:
2021-04-18 23:24:41 +02:00
- echo ${DOCKER_USERNAME}
- echo ${DOCKER_PASSWORD} | sha256sum
2021-04-16 10:40:59 +02:00
- name: build
2021-04-17 23:53:04 +02:00
image: plugins/docker
2021-04-17 23:56:47 +02:00
settings:
repo: registry.wtf-eg.net/lektor
username:
from_secret: docker_username
password:
from_secret: docker_password