From b14c0f299f2b5fd6f07d9ebf023ec4143a80b238 Mon Sep 17 00:00:00 2001 From: garionion Date: Sun, 15 Aug 2021 00:47:02 +0200 Subject: [PATCH] build docker image `manual` --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9b6bd4c..0719960 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file + 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