Drone CI recipe fix.
This commit is contained in:
parent
02cea49fc4
commit
11897d0e1a
@ -11,7 +11,7 @@ steps:
|
|||||||
from_secret: discord_webhook_id
|
from_secret: discord_webhook_id
|
||||||
webhook_token:
|
webhook_token:
|
||||||
from_secret: discord_webhook_secret
|
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
|
- name: lint
|
||||||
image: golangci/golangci-lint:latest
|
image: golangci/golangci-lint:latest
|
||||||
@ -61,9 +61,9 @@ steps:
|
|||||||
from_secret: discord_webhook_secret
|
from_secret: discord_webhook_secret
|
||||||
message: "
|
message: "
|
||||||
{{#success build.status}}
|
{{#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 }}
|
{{ else }}
|
||||||
**{{repo.name}}#{{build.number}}@{{build.commit}}** failed. See {{build.link}}.
|
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
|
||||||
{{/success}}"
|
{{/success}}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- docker
|
- docker
|
||||||
|
Loading…
Reference in New Issue
Block a user