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

97 lines
1.5 KiB
YAML
Raw Normal View History

2020-05-06 15:54:32 +00:00
kind: pipeline
type: docker
name: linux-amd64
platform:
os: linux
arch: amd64
2020-05-06 15:54:32 +00:00
steps:
- name: build
image: node:alpine
2020-05-06 15:54:32 +00:00
commands:
- npm install
- npm run build:ssr
- name: docker
image: plugins/docker
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
repo: samuelph/universal-statuspage
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
2020-05-06 15:54:32 +00:00
trigger:
branch:
- master
2020-07-05 18:50:06 +00:00
event:
- push
---
kind: pipeline
type: docker
name: linux-arm
platform:
os: linux
arch: arm
steps:
- name: build
image: node:alpine
commands:
- npm install
- npm run build:ssr
2020-05-06 15:54:32 +00:00
- name: docker
image: plugins/docker
settings:
auto_tag: true
auto_tag_suffix: linux-arm
repo: samuelph/universal-statuspage
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
when:
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/universal-statuspage
template: samuelph/universal-statuspage:OS-ARCH
platforms:
- linux/amd64
- linux/arm
2020-05-06 15:54:32 +00:00
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
depends_on:
- linux-amd64
- linux-arm
trigger:
branch:
- master
2020-07-05 18:50:06 +00:00
event:
- push