Robert Kaussow
b07631f192
All checks were successful
continuous-integration/drone/push Build is passing
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: dryrun
|
|
pull: always
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
dry_run: true
|
|
password:
|
|
from_secret: docker_password
|
|
repo: xoxys/rpmbuild-centos7
|
|
tags: linux-amd64
|
|
username:
|
|
from_secret: docker_username
|
|
when:
|
|
event:
|
|
- push
|
|
- tag
|
|
|
|
- name: publish
|
|
pull: always
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
auto_tag: true
|
|
password:
|
|
from_secret: docker_password
|
|
repo: xoxys/rpmbuild-centos7
|
|
username:
|
|
from_secret: docker_username
|
|
when:
|
|
event:
|
|
- push
|
|
- tag
|
|
|
|
- name: notify
|
|
image: plugins/matrix
|
|
settings:
|
|
homeserver: https://matrix.rknet.org
|
|
roomid: MtidqQXWWAtQcByBhH:rknet.org
|
|
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
|
username:
|
|
from_secret: matrix_username
|
|
password:
|
|
from_secret: matrix_password
|
|
when:
|
|
status:
|
|
- success
|
|
- failure
|