This commit is contained in:
parent
3e0877b876
commit
204255ad74
13
.drone.yml
13
.drone.yml
@ -6,12 +6,19 @@ name: build_lektor
|
||||
steps:
|
||||
- name: env
|
||||
image: busybox
|
||||
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
|
||||
environment:
|
||||
DOCKER_USERNAME:
|
||||
from_secret: "docker_username"
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: "docker_password"
|
||||
commands:
|
||||
- echo ${DOCKER_USERNAME}
|
||||
- echo ${DOCKER_PASSWORD} | sha256sum
|
||||
- env
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.wtf-eg.net/lektor
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user