lector-drone/.drone.yml
Henning Brinkmann 87059df688
Some checks reported errors
continuous-integration/drone/push Build encountered an error
try docker login in dind
2021-04-18 23:54:25 +02:00

25 lines
511 B
YAML

---
kind: pipeline
type: docker
name: build_lektor
steps:
- name: env
image: dind
environment:
DOCKER_USERNAME:
from_secret: "docker_username"
DOCKER_PASSWORD:
from_secret: "docker_password"
commands:
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
- name: build
image: plugins/docker
settings:
repo: registry.wtf-eg.net/lektor
username:
from_secret: docker_username
password:
from_secret: docker_password