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

This commit is contained in:
Robert Kaussow 2023-02-08 21:22:12 +01:00
parent bf52e7e5f4
commit cc29ed120b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 5 additions and 5 deletions

View File

@ -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
@ -173,7 +173,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:
@ -194,6 +194,6 @@ depends_on:
---
kind: signature
hmac: bf2f69c79f19548c4a6ca12a9fa957eca2d197bd8a3853822f7b481d0d5308f7
hmac: eb47de1e5032701aa283d29596fd08b9cc294def86b1af4eba6b03784ceadbec
...