didnt work -.-
continuous-integration/drone/push Build is failing Details

This commit is contained in:
garionion 2021-08-15 01:00:01 +02:00
parent b14c0f299f
commit d8f479e6f6
Signed by: garionion
GPG Key ID: 53352FA607FA681A
1 changed files with 11 additions and 8 deletions

View File

@ -10,13 +10,16 @@ steps:
- go test ./...
- name: publish
image: docker:20
environment:
username:
from_secret: docker_username
image: plugins/docker:latest
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
daemon_off: false
debug: true
privileged: 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