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:23 +01:00
parent 70d68e6082
commit 1b6eb31809
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -32,9 +32,9 @@ steps:
settings:
dockerfile: Dockerfile.el7
dry_run: true
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 7
provenance: false
when:
ref:
- refs/pull/**
@ -45,11 +45,11 @@ steps:
dockerfile: Dockerfile.el7
password:
from_secret: docker_password
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 7
username:
from_secret: docker_username
provenance: false
when:
ref:
- refs/heads/main
@ -61,12 +61,12 @@ steps:
dockerfile: Dockerfile.el7
password:
from_secret: quay_password
provenance: false
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
tags: 7
username:
from_secret: quay_username
provenance: false
when:
ref:
- refs/heads/main
@ -95,9 +95,9 @@ steps:
settings:
dockerfile: Dockerfile.el8
dry_run: true
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 8
provenance: false
when:
ref:
- refs/pull/**
@ -108,11 +108,11 @@ steps:
dockerfile: Dockerfile.el8
password:
from_secret: docker_password
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 8
username:
from_secret: docker_username
provenance: false
when:
ref:
- refs/heads/main
@ -124,12 +124,12 @@ steps:
dockerfile: Dockerfile.el8
password:
from_secret: quay_password
provenance: false
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
tags: 8
username:
from_secret: quay_username
provenance: false
when:
ref:
- refs/heads/main
@ -187,7 +187,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:
@ -209,6 +209,6 @@ depends_on:
---
kind: signature
hmac: d82532e62c20d50e32e20d34a6836919cb91b0fec07a1a1ee67c01ba6b6478da
hmac: c1d7bf589253bfecd788f3568f01374b499a8892391135722f82f08b44cd6233
...