lector-drone/.drone.yml

33 lines
730 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 23:55:27 +02:00
image: docker:dind
2021-04-18 23:49:32 +02:00
environment:
DOCKER_USERNAME:
from_secret: "docker_username"
DOCKER_PASSWORD:
from_secret: "docker_password"
2021-04-18 22:51:27 +02:00
commands:
2021-04-24 23:43:11 +02:00
- env
2021-04-24 23:47:27 +02:00
- nslookup registry.wtf-eg.net/
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
2021-04-18 23:49:32 +02:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2021-04-24 23:41:45 +02:00
---
kind: secret
name: docker_username
data: 9cqHazxZJfr8E9+OO3JxSPtaE4dWgV9zyQtHkM6RWmZH
---
kind: secret
name: docker_password
data: YtT61Eb7iEizd6BTWBU5qaNv/K187KQ5ebK6QrUdZMvZYHEzLSzxfgw4ihGhBQVlukQ8llMGycviC74g/eMQkxY9zZo=