didnt work -.-
Some checks failed
continuous-integration/drone/push Build is failing

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

View file

@ -10,13 +10,15 @@ steps:
- go test ./...
- name: publish
image: docker:20
environment:
username:
from_secret: docker_username
image: plugins/docker:18
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
daemon_off: false
debug: true
dockerfile: Dockerfile
password:
from_secret: docker_password
commands:
- docker login -u $username --password $password
- docker build --tag drone-yaml-server:latest $PWD
- docker push drone-yaml-server:latest
repo: garionion/drone-yaml-server
username:
from_secret: docker_username