---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
dockerfile: docker/Dockerfile.linux.amd64
dry_run: true
password:
from_secret: docker_password
repo: xoxys/rpmbuild-centos7
tags: linux-amd64
username:
from_secret: docker_username
- name: publish
auto_tag: true
auto_tag_suffix: linux-amd64
name: notifications
- image: plugins/matrix
homeserver: https://matrix.rknet.org
from_secret: matrix_password
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 }}"
from_secret: matrix_username
when:
status:
- success
- failure
depends_on:
- linux-amd64
...