fix drone-matrix template
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
59aa025034
commit
8a5d31ee10
10
.drone.yml
10
.drone.yml
@ -32,8 +32,8 @@ steps:
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
provenance: false
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
@ -74,10 +74,10 @@ steps:
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: docker_password
|
||||
provenance: false
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
username:
|
||||
from_secret: docker_username
|
||||
provenance: false
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
@ -91,11 +91,11 @@ steps:
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: quay_password
|
||||
provenance: false
|
||||
registry: quay.io
|
||||
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
|
||||
username:
|
||||
from_secret: quay_username
|
||||
provenance: false
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
@ -171,7 +171,7 @@ steps:
|
||||
from_secret: matrix_password
|
||||
roomid:
|
||||
from_secret: matrix_roomid
|
||||
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}<br/> Message: {{ commit.Message.Title }}"
|
||||
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
|
||||
username:
|
||||
from_secret: matrix_username
|
||||
when:
|
||||
@ -192,6 +192,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: be84fa5f05881cf3972a0a5405c919edac6e069175e554077727136e141d57d2
|
||||
hmac: ad5fa086e59f2f70d8fa3caa656ae653619a159a1e1d4528ca5e14b9e6a0223f
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user