fix drone-matrix template
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2023-02-08 21:24:17 +01:00
parent 2f3bfa613c
commit 81e7d81dcc
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 5 additions and 5 deletions

View File

@ -40,8 +40,8 @@ steps:
settings:
dockerfile: Dockerfile
dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/pull/**
@ -54,10 +54,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
@ -71,11 +71,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
@ -135,7 +135,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:
@ -156,6 +156,6 @@ depends_on:
---
kind: signature
hmac: aeba0fdec0b13d160b6d95e18e3a291333d8d80436c6138395ba449a96ddd93a
hmac: ed0d23176bcae45f8eef47fb2afa78e081c026c322f2f06dc15ca1fe093d7680
...