fix drone-matrix template
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2023-02-08 21:22:21 +01:00
parent 093afec602
commit 746984fc3b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -48,8 +48,8 @@ steps:
settings:
dockerfile: Dockerfile
dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/pull/**
@ -92,10 +92,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
@ -109,11 +109,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
@ -189,7 +189,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:
@ -210,6 +210,6 @@ depends_on:
---
kind: signature
hmac: 1896c9f0cd121a2f8be3dca477d292bd93bd79ea0e01f987f38f026d27189a84
hmac: 87c2abc72b42dcc7a161b33c9f0b1d2f2ac53ff5600e5450ff26c07c25e19c63
...