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 +++++++++++++- .yarnrc.yml | 2 +- 2 files changed, 14 insertions(+), 2 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: diff --git a/.yarnrc.yml b/.yarnrc.yml index 07cb92a..a1da846 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,4 +1,4 @@ -enableTelemetry: 0 +enableTelemetry: false plugins: - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs -- cgit