ci: switch to drone-matrix plugin
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
6aa838b113
commit
61862667ca
32
.drone.yml
32
.drone.yml
@ -7,7 +7,7 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: markdownlint
|
||||
- name: markdownlint
|
||||
image: thegeeklab/markdownlint-cli
|
||||
commands:
|
||||
- markdownlint 'README.md'
|
||||
@ -27,7 +27,7 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: dryrun
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
@ -41,7 +41,7 @@ steps:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
|
||||
- name: tags
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
environment:
|
||||
DOCKER_AUTOTAG_FORCE_LATEST: True
|
||||
@ -55,7 +55,7 @@ steps:
|
||||
depends_on:
|
||||
- dryrun
|
||||
|
||||
- name: changelog-generate
|
||||
- name: changelog-generate
|
||||
image: thegeeklab/git-chglog
|
||||
commands:
|
||||
- git fetch -tq
|
||||
@ -63,7 +63,7 @@ steps:
|
||||
depends_on:
|
||||
- tags
|
||||
|
||||
- name: changelog-format
|
||||
- name: changelog-format
|
||||
image: thegeeklab/alpine-tools
|
||||
commands:
|
||||
- prettier CHANGELOG.md
|
||||
@ -71,7 +71,7 @@ steps:
|
||||
depends_on:
|
||||
- changelog-generate
|
||||
|
||||
- name: publish-dockerhub
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
@ -87,7 +87,7 @@ steps:
|
||||
depends_on:
|
||||
- changelog-format
|
||||
|
||||
- name: publish-quay
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
@ -104,7 +104,7 @@ steps:
|
||||
depends_on:
|
||||
- changelog-format
|
||||
|
||||
- name: publish-gitea
|
||||
- name: publish-gitea
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
@ -127,7 +127,7 @@ trigger:
|
||||
- refs/tags/**
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
- test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -138,7 +138,7 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: pushrm-dockerhub
|
||||
- name: pushrm-dockerhub
|
||||
pull: always
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
@ -153,7 +153,7 @@ steps:
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: pushrm-quay
|
||||
- name: pushrm-quay
|
||||
pull: always
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
@ -165,8 +165,8 @@ steps:
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: matrix
|
||||
image: plugins/matrix
|
||||
- name: matrix
|
||||
image: thegeeklab/drone-matrix
|
||||
settings:
|
||||
homeserver:
|
||||
from_secret: matrix_homeserver
|
||||
@ -174,7 +174,7 @@ steps:
|
||||
from_secret: matrix_password
|
||||
roomid:
|
||||
from_secret: matrix_roomid
|
||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
||||
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}<br/> Message: {{ commit.Message }}"
|
||||
username:
|
||||
from_secret: matrix_username
|
||||
when:
|
||||
@ -191,10 +191,10 @@ trigger:
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- build-container
|
||||
- build-container
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: a1f7400028453cb7a43a23cc25eaae9e6b1eb972eb83153b6d37dc09b8b6d00b
|
||||
hmac: 42102b6f3eaabc013a3cd1f354c043462e9654f26f46a2e239f5af92d6109e85
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user