build docker image manual
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
garionion 2021-08-15 00:47:02 +02:00
parent 1c444086dd
commit 0ebc461735

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-stdin $CI_REGISTRY
- docker build --tag drone-yaml-server:latest ./Dockerfile
- docker push drone-yaml-server:latest