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:24:14 +01:00
parent 002be8f830
commit 4db1196ca9
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -32,8 +32,8 @@ steps:
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
dry_run: true dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
provenance: false provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
when: when:
ref: ref:
- refs/pull/** - refs/pull/**
@ -74,10 +74,10 @@ steps:
dockerfile: Dockerfile dockerfile: Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME} repo: thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: docker_username from_secret: docker_username
provenance: false
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
@ -91,11 +91,11 @@ steps:
dockerfile: Dockerfile dockerfile: Dockerfile
password: password:
from_secret: quay_password from_secret: quay_password
provenance: false
registry: quay.io registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME} repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: quay_username from_secret: quay_username
provenance: false
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
@ -171,7 +171,7 @@ steps:
from_secret: matrix_password from_secret: matrix_password
roomid: roomid:
from_secret: matrix_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: username:
from_secret: matrix_username from_secret: matrix_username
when: when:
@ -192,6 +192,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: ca5d129a1c880f4f666cb83759d1a075c18485afe17f94696e46cb9753555f23 hmac: 256cfd4d5075fa48ba50b810afd3eca41100d64f1eae94ed3a5a7d97779d0b8b
... ...