108 lines
1.5 KiB
YAML
108 lines
1.5 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: linux-amd64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-amd64
|
|
repo: samuelph/cachet-monitor
|
|
username:
|
|
from_secret: USERNAME
|
|
password:
|
|
from_secret: PASSWORD
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: linux-arm
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-arm
|
|
repo: samuelph/cachet-monitor
|
|
username:
|
|
from_secret: USERNAME
|
|
password:
|
|
from_secret: PASSWORD
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: manifest
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: publish
|
|
image: plugins/manifest
|
|
settings:
|
|
auto_tag: true
|
|
ignore_missing: true
|
|
target: samuelph/cachet-monitor
|
|
template: samuelph/cachet-monitor:OS-ARCH
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/arm
|
|
username:
|
|
from_secret: USERNAME
|
|
password:
|
|
from_secret: PASSWORD
|
|
|
|
depends_on:
|
|
- linux-amd64
|
|
- linux-arm
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build-only
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: samuelph/cachet-monitor
|
|
dry_run: true
|
|
|
|
trigger:
|
|
branch:
|
|
exclude:
|
|
- master
|