mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-05 11:36:56 +00:00
chore(ci): add manual build and deploy step
This commit is contained in:
parent
900bf8dd3c
commit
6ea0abbc19
1 changed files with 15 additions and 3 deletions
|
@ -1,6 +1,3 @@
|
|||
when:
|
||||
- event: manual
|
||||
|
||||
services:
|
||||
- name: postgres
|
||||
image: postgres:15
|
||||
|
@ -12,6 +9,8 @@ services:
|
|||
steps:
|
||||
- name: Tests
|
||||
image: node:jod
|
||||
when:
|
||||
- event: pull_request
|
||||
commands:
|
||||
- apt-get update && apt-get install -y git wget curl build-essential python3 ffmpeg
|
||||
- cp .config/ci.yml .config/default.yml
|
||||
|
@ -25,3 +24,16 @@ steps:
|
|||
- pnpm run --filter='!megalodon' test
|
||||
- pnpm run --filter=backend --filter=misskey-js lint
|
||||
- pnpm run --filter=frontend --filter=frontend-embed eslint
|
||||
- name: Build and Deploy
|
||||
when:
|
||||
- event: manual
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: codeberg.org/yeentown/barkey
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
|
||||
tag: dev
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
|
Loading…
Add table
Reference in a new issue