fix drone-matrix template

This commit is contained in:
Robert Kaussow 2023-02-08 21:22:19 +01:00
parent 7ab5d7bae0
commit de801f6d1b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -47,7 +47,6 @@ steps:
- linux/arm/v6
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
provenance: false
when:
ref:
- refs/pull/**
@ -69,7 +68,6 @@ steps:
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
provenance: false
when:
ref:
- refs/heads/main
@ -93,7 +91,6 @@ steps:
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
provenance: false
when:
ref:
- refs/heads/main
@ -153,7 +150,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:
@ -174,6 +171,6 @@ depends_on:
---
kind: signature
hmac: 87845c95059571090b23b0b6efdb5479541a1a229007e55dc3a4bc31c38c6626
hmac: f4f36ba03ad0993b23622072fca54bcc0c06857c40a715cfbe4f83472b228c11
...