---
kind: pipeline
name: gce-linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: plugins/docker:gce-linux-amd64
settings:
dockerfile: docker/Dockerfile.gce.linux.amd64
dry_run: true
password:
from_secret: docker_password
repo: xoxys/molecule
tags: gce-linux-amd64
username:
from_secret: docker_username
- name: publish
auto_tag: true
auto_tag_suffix: gce-linux-amd64
when:
branch:
- master
name: notifications
- name: manifest
image: plugins/manifest
ignore_missing: true
spec: docker/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
...