From fad6b69e63fa1b78810803d5f22c6935b08a4005 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sat, 25 Sep 2021 21:11:21 +0000 Subject: Add image build and publish to pipeline --- .drone.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index cb81f80..f35b072 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: FORMAT: cobertura REPORT_FILE: coverage/cobertura-coverage.xml HOST_DIR: /dist - VERBOSE: true + VERBOSE: "true" COV_TOKEN: from_secret: token commands: @@ -18,6 +18,18 @@ steps: - yarn run lint - yarn run test:coverage - curl --proto '=https' --tlsv1.2 -sSf https://cov.submelon.dev/sh | sh +- name: publish + image: plugins/docker + settings: + repo: $DRONE_REPO + tags: + - $DRONE_COMMIT_SHA + - latest + target: release + username: + from_secret: docker_username + password: + from_secret: docker_password trigger: branch: -- cgit