develop #128
1 changed files with 34 additions and 37 deletions
71
.drone.yml
71
.drone.yml
|
@ -60,47 +60,44 @@ trigger:
|
|||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-arm
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: arm32v7/node:12.20.1-buster@sha256:37d6f1cfdef57f170dce16d72ed21c5d463bed4a6ed340c056ef91cb94e39199
|
||||
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
|
||||
# disable temporarily
|
||||
#---
|
||||
#kind: pipeline
|
||||
#type: docker
|
||||
#name: linux-arm
|
||||
#
|
||||
#platform:
|
||||
# os: linux
|
||||
# arch: arm
|
||||
#
|
||||
#steps:
|
||||
# - name: build
|
||||
# image: arm32v7/node:12.20.1-buster@sha256:37d6f1cfdef57f170dce16d72ed21c5d463bed4a6ed340c056ef91cb94e39199
|
||||
# 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
|
||||
|
@ -112,7 +109,7 @@ steps:
|
|||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/arm
|
||||
# - linux/arm
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
|
@ -121,7 +118,7 @@ steps:
|
|||
depends_on:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
||||
- linux-arm
|
||||
# - linux-arm
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
Reference in a new issue