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