From d8f479e6f6948bc39482fce89dc2c2bf95a68c8c Mon Sep 17 00:00:00 2001 From: garionion Date: Sun, 15 Aug 2021 01:00:01 +0200 Subject: [PATCH] didnt work -.- --- .drone.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0719960..a4d4058 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file + repo: garionion/drone-yaml-server + username: + from_secret: docker_username \ No newline at end of file