130 lines
2.3 KiB
YAML
130 lines
2.3 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: linux-amd64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
image: amd64/node:12.20.2-buster@sha256:791a070729019e6170cb8a0bff536ecf4ad0d42bf0d040a2a60a768c0a8dd47e
|
|
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
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: linux-arm64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: build
|
|
image: arm64v8/node:12.20.2-buster@sha256:f1cbcce5e83babda708912f08674790e9d6f739284cee609c39e78d8a90d6f7e
|
|
commands:
|
|
- npm install
|
|
- npm run build:ssr
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-arm64
|
|
repo: samuelph/universal-statuspage
|
|
username:
|
|
from_secret: USERNAME
|
|
password:
|
|
from_secret: PASSWORD
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: linux-arm
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: build
|
|
image: arm32v7/node:12.20.2-buster@sha256:13c6a795c7ff8475c5087892f7d085da9bdf09d01a51682b218a4a2aa75cf324
|
|
commands:
|
|
- npm install
|
|
- npm run build:ssr
|
|
- 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
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: manifest
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
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/arm64
|
|
- linux/arm
|
|
username:
|
|
from_secret: USERNAME
|
|
password:
|
|
from_secret: PASSWORD
|
|
|
|
depends_on:
|
|
- linux-amd64
|
|
- linux-arm64
|
|
- linux-arm
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|