aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2021-09-25 21:11:21 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2021-09-25 21:11:21 +0000
commitfad6b69e63fa1b78810803d5f22c6935b08a4005 (patch)
tree35bc3bc7eb777e362309f208af373a61a2701feb /.drone.yml
parentc0ed01390f1731a587be00b8269d4eb69d24aef9 (diff)
downloadao-coverage-fad6b69e63fa1b78810803d5f22c6935b08a4005.tar.gz
ao-coverage-fad6b69e63fa1b78810803d5f22c6935b08a4005.tar.bz2
ao-coverage-fad6b69e63fa1b78810803d5f22c6935b08a4005.zip
Add image build and publish to pipeline
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml14
1 files changed, 13 insertions, 1 deletions
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: