This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild/.drone.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2019-02-09 14:29:00 +00:00
---
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:
2019-02-09 14:35:53 +00:00
- push
- tag
2019-02-09 14:29:00 +00:00
- 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:
2019-02-09 22:37:14 +00:00
- push
2019-02-09 14:29:00 +00:00
- tag
2019-02-09 22:37:14 +00:00
- 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