From 11897d0e1afc24e98f1d3778ccfaedbd0f46e343 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sun, 22 Dec 2019 01:24:13 +0500 Subject: [PATCH] Drone CI recipe fix. --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index eaa8998..0c521cd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: from_secret: discord_webhook_id webhook_token: from_secret: discord_webhook_secret - message: 'Starting building **{{repo.name}}#{{build.number}}@{{build.commit}}** @ {{datetime build.started "02-Jan-2006 15:04:05 MST" "Asia/Yekaterinburg"}} (See {{build.link}} for logs).' + message: 'Starting building **{{repo.name}}#{{build.number}}@{{commit.sha}}** @ {{datetime build.started "02-Jan-2006 15:04:05 MST" "Asia/Yekaterinburg"}} (See {{build.link}} for logs).' - name: lint image: golangci/golangci-lint:latest @@ -61,9 +61,9 @@ steps: from_secret: discord_webhook_secret message: " {{#success build.status}} - **{{repo.name}}#{{build.number}}@{{build.commit}}** built and pushed to hub.docker.com. + **{{repo.name}}#{{build.number}}@{{commit.sha}}** built in {{since build.startedint}} and pushed to hub.docker.com. {{ else }} - **{{repo.name}}#{{build.number}}@{{build.commit}}** failed. See {{build.link}}. + **{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}. {{/success}}" depends_on: - docker