fix drone-matrix template
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6ff31a4dd6
commit
783875a6f6
10
.drone.yml
10
.drone.yml
@ -39,8 +39,8 @@ steps:
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
provenance: false
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
@ -83,10 +83,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
|
||||
@ -100,11 +100,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
|
||||
@ -180,7 +180,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:
|
||||
@ -201,6 +201,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: f0efee75bcce31f390fde5d226a37e8c1552c22684b568645bdcc58b67c8c46f
|
||||
hmac: 4b335d213d1c2e27d91bd562fa93e5137e3468eefc45899f742d427cf54d9ccc
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user