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
1 changed files with 6 additions and 5 deletions
11
.drone.yml
11
.drone.yml
|
@ -10,12 +10,13 @@ steps:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: docker:20
|
||||||
settings:
|
environment:
|
||||||
auto_tag: true
|
|
||||||
repo: garionion/drone-yaml-server
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_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