build docker image manual
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
garionion 2021-08-15 00:47:02 +02:00
parent 1c444086dd
commit b14c0f299f
Signed by: garionion
GPG key ID: 53352FA607FA681A

View file

@ -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