2020-05-06 15:54:32 +00:00
|
|
|
kind: pipeline
|
2020-07-05 18:19:52 +00:00
|
|
|
type: docker
|
|
|
|
name: linux-amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
2020-05-06 15:54:32 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2021-06-24 21:29:17 +00:00
|
|
|
image: amd64/node:lts-buster@sha256:828d74a846e6fdf1e4bc5b2fe19b199b56608fecf105488b5d0ebd0a43c0d5fd
|
2020-05-06 15:54:32 +00:00
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run build:ssr
|
2020-07-05 18:19:52 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
repo: samuelph/universal-statuspage
|
2021-06-24 17:10:58 +00:00
|
|
|
build_args:
|
|
|
|
- ARCH=amd64
|
2020-07-05 18:19:52 +00:00
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
2021-01-25 22:19:56 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
2020-07-05 18:19:52 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2020-11-27 21:47:43 +00:00
|
|
|
name: linux-arm64
|
2020-07-05 18:19:52 +00:00
|
|
|
|
2020-11-27 18:03:08 +00:00
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2021-06-24 21:29:17 +00:00
|
|
|
image: arm64v8/node:lts-buster@sha256:9db80e349c4eaf0609801cc97ce096ed581d4ec3fc37e02bfbe917d898e698b3
|
2020-11-27 18:03:08 +00:00
|
|
|
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
|
2021-06-24 17:10:58 +00:00
|
|
|
build_args:
|
|
|
|
- ARCH=amd64
|
2020-11-27 18:03:08 +00:00
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
2021-01-25 22:08:46 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2021-01-25 22:19:56 +00:00
|
|
|
- main
|
2021-01-25 22:08:46 +00:00
|
|
|
event:
|
|
|
|
- push
|
2020-11-27 18:03:08 +00:00
|
|
|
|
2021-03-27 21:21:11 +00:00
|
|
|
# disable temporarily
|
|
|
|
#---
|
|
|
|
#kind: pipeline
|
|
|
|
#type: docker
|
|
|
|
#name: linux-arm
|
|
|
|
#
|
|
|
|
#platform:
|
|
|
|
# os: linux
|
|
|
|
# arch: arm
|
|
|
|
#
|
|
|
|
#steps:
|
|
|
|
# - name: build
|
2021-06-24 21:29:17 +00:00
|
|
|
# image: arm32v7/node:lts-buster@sha256:e93d480d761345d85d283fba41585c6906c28d1670fa7f9581ead8aadf56e583
|
2021-03-27 21:21:11 +00:00
|
|
|
# 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
|
2020-07-05 18:19:52 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: manifest
|
|
|
|
|
|
|
|
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
|
2020-11-27 18:03:08 +00:00
|
|
|
- linux/arm64
|
2021-06-24 17:10:58 +00:00
|
|
|
# - linux/arm
|
2020-05-06 15:54:32 +00:00
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
2020-07-05 18:19:52 +00:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- linux-amd64
|
2020-11-27 18:03:08 +00:00
|
|
|
- linux-arm64
|
2021-03-27 21:21:11 +00:00
|
|
|
# - linux-arm
|
2020-07-05 18:19:52 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2021-01-25 22:19:56 +00:00
|
|
|
- main
|
2020-07-05 18:50:06 +00:00
|
|
|
event:
|
|
|
|
- push
|