---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
dockerfile: ./Dockerfile.linux.amd64
dry_run: true
password:
from_secret: docker_password
repo: xoxys/ttrss
tags: linux-amd64
username:
from_secret: docker_username
- name: publish
auto_tag: true
auto_tag_suffix: linux-amd64
when:
ref:
- refs/heads/master
- "refs/tags/**"
name: notifications
- name: manifest
image: plugins/manifest
ignore_missing: true
spec: ./manifest.tmpl
- name: microbadger
image: plugins/webhook
urls:
from_secret: microbadger_url
- name: matrix
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
status:
- success
- failure
trigger:
depends_on:
- linux-amd64
kind: signature
hmac: f15274a2fd107c7a19948d4ba36c9c2fe6c55bad46d8a4690c529c801ef8c9ad
...