develop #128
1 changed files with 34 additions and 37 deletions
71
.drone.yml
71
.drone.yml
|
@ -60,47 +60,44 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
# disable temporarily
|
||||||
kind: pipeline
|
#---
|
||||||
type: docker
|
#kind: pipeline
|
||||||
name: linux-arm
|
#type: docker
|
||||||
|
#name: linux-arm
|
||||||
platform:
|
#
|
||||||
os: linux
|
#platform:
|
||||||
arch: arm
|
# os: linux
|
||||||
|
# arch: arm
|
||||||
steps:
|
#
|
||||||
- name: build
|
#steps:
|
||||||
image: arm32v7/node:12.20.1-buster@sha256:37d6f1cfdef57f170dce16d72ed21c5d463bed4a6ed340c056ef91cb94e39199
|
# - name: build
|
||||||
commands:
|
# image: arm32v7/node:12.20.1-buster@sha256:37d6f1cfdef57f170dce16d72ed21c5d463bed4a6ed340c056ef91cb94e39199
|
||||||
- npm install
|
# commands:
|
||||||
- npm run build:ssr
|
# - npm install
|
||||||
- name: docker
|
# - npm run build:ssr
|
||||||
image: plugins/docker
|
# - name: docker
|
||||||
settings:
|
# image: plugins/docker
|
||||||
auto_tag: true
|
# settings:
|
||||||
auto_tag_suffix: linux-arm
|
# auto_tag: true
|
||||||
repo: samuelph/universal-statuspage
|
# auto_tag_suffix: linux-arm
|
||||||
username:
|
# repo: samuelph/universal-statuspage
|
||||||
from_secret: USERNAME
|
# username:
|
||||||
password:
|
# from_secret: USERNAME
|
||||||
from_secret: PASSWORD
|
# password:
|
||||||
|
# from_secret: PASSWORD
|
||||||
trigger:
|
#
|
||||||
branch:
|
#trigger:
|
||||||
- main
|
# branch:
|
||||||
event:
|
# - main
|
||||||
- push
|
# event:
|
||||||
|
# - push
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: manifest
|
name: manifest
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
|
@ -112,7 +109,7 @@ steps:
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm
|
# - linux/arm
|
||||||
username:
|
username:
|
||||||
from_secret: USERNAME
|
from_secret: USERNAME
|
||||||
password:
|
password:
|
||||||
|
@ -121,7 +118,7 @@ steps:
|
||||||
depends_on:
|
depends_on:
|
||||||
- linux-amd64
|
- linux-amd64
|
||||||
- linux-arm64
|
- linux-arm64
|
||||||
- linux-arm
|
# - linux-arm
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
Reference in a new issue