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