This commit is contained in:
parent
789a5416ac
commit
5850242cdd
1 changed files with 27 additions and 15 deletions
42
.drone.yml
42
.drone.yml
|
@ -7,11 +7,6 @@ platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
|
||||||
image: node:alpine
|
|
||||||
commands:
|
|
||||||
- npm install
|
|
||||||
- npm run build:ssr
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -39,11 +34,6 @@ platform:
|
||||||
arch: arm
|
arch: arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
|
||||||
image: node:alpine
|
|
||||||
commands:
|
|
||||||
- npm install
|
|
||||||
- npm run build:ssr
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -54,11 +44,12 @@ steps:
|
||||||
from_secret: USERNAME
|
from_secret: USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: PASSWORD
|
from_secret: PASSWORD
|
||||||
when:
|
|
||||||
branch:
|
trigger:
|
||||||
- master
|
branch:
|
||||||
event:
|
- master
|
||||||
- push
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -94,3 +85,24 @@ trigger:
|
||||||
- master
|
- master
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build-only
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: samuelph/cachet-monitor
|
||||||
|
dry_run: true
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
exclude:
|
||||||
|
- master
|
||||||
|
|
Reference in a new issue