This commit is contained in:
parent
b14c0f299f
commit
ef9a0e1810
18
.drone.yml
18
.drone.yml
|
@ -10,13 +10,15 @@ steps:
|
|||
- go test ./...
|
||||
|
||||
- name: publish
|
||||
image: docker:20
|
||||
environment:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
image: plugins/docker:18
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
daemon_off: false
|
||||
debug: true
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: docker_password
|
||||
commands:
|
||||
- docker login -u $username --password $password
|
||||
- docker build --tag drone-yaml-server:latest $PWD
|
||||
- docker push drone-yaml-server:latest
|
||||
repo: garionion/drone-yaml-server
|
||||
username:
|
||||
from_secret: docker_username
|
Loading…
Reference in a new issue