is from_secret working?
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
hbr 2021-04-18 23:07:57 +02:00
parent 97ffc29903
commit 50cb1965e1

View File

@ -4,10 +4,16 @@ type: docker
name: build_lektor name: build_lektor
steps: steps:
- name: ping registry - name: env
image: busybox image: busybox
environment:
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_PASSWORD:
from_secret: "{{ docker_password | sha256 }}"
commands: commands:
- ping -c 5 registry.wtf-eg.net - echo ${DOCKER_USERNAME}
- echo ${DOCKER_PASSWORD} | sha256sum
- name: build - name: build
image: plugins/docker image: plugins/docker
settings: settings: