build docker image `manual`
continuous-integration/drone/push Build is failing Details

This commit is contained in:
garionion 2021-08-15 00:47:02 +02:00
parent 1c444086dd
commit 0ebc461735
1 changed files with 6 additions and 5 deletions

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