Update .drone.yml
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
10
.drone.yml
10
.drone.yml
@ -5,14 +5,20 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: debug registry secrets
|
- name: debug registry secrets
|
||||||
image: alpine
|
image: alpine
|
||||||
secrets: [ docker_username, docker_password, test ]
|
environment:
|
||||||
|
USERNAME:
|
||||||
|
from_secret: docker_username
|
||||||
|
PASSWORD:
|
||||||
|
from_secret: docker_password
|
||||||
|
TEST
|
||||||
|
from_secret: test
|
||||||
commands:
|
commands:
|
||||||
- echo ${TEST}
|
- echo ${TEST}
|
||||||
- echo $TEST
|
- echo $TEST
|
||||||
- echo $test
|
- echo $test
|
||||||
- echo "${test}"
|
- echo "${test}"
|
||||||
- echo ${USERNAME}
|
- echo ${USERNAME}
|
||||||
- echo "${docker_password}"
|
- echo ${docker_password}
|
||||||
|
|
||||||
- name: build and push flappy image
|
- name: build and push flappy image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|||||||
Reference in New Issue
Block a user