build docker image manual
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
1c444086dd
commit
b14c0f299f
11
.drone.yml
11
.drone.yml
|
@ -10,12 +10,13 @@ steps:
|
|||
- go test ./...
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
repo: garionion/drone-yaml-server
|
||||
image: docker:20
|
||||
environment:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
debug: true
|
||||
commands:
|
||||
- docker login -u $username --password $password
|
||||
- docker build --tag drone-yaml-server:latest $PWD
|
||||
- docker push drone-yaml-server:latest
|
Loading…
Reference in a new issue