updated .drone.yml

This commit is contained in:
Samuel Philipp 2020-11-27 19:03:08 +01:00
parent 4b3d08e6e1
commit 0092a84ba9

View file

@ -34,6 +34,37 @@ kind: pipeline
type: docker type: docker
name: linux-arm name: linux-arm
platform:
os: linux
arch: arm64
steps:
- name: build
image: node:alpine
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
when:
branch:
- master
event:
- push
---
kind: pipeline
type: docker
name: linux-arm
platform: platform:
os: linux os: linux
arch: arm arch: arm
@ -79,6 +110,7 @@ steps:
template: samuelph/universal-statuspage:OS-ARCH template: samuelph/universal-statuspage:OS-ARCH
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/arm64
- linux/arm - linux/arm
username: username:
from_secret: USERNAME from_secret: USERNAME
@ -87,6 +119,7 @@ steps:
depends_on: depends_on:
- linux-amd64 - linux-amd64
- linux-arm64
- linux-arm - linux-arm
trigger: trigger: