mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-20 10:03:38 +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:
|
services:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
|
@ -12,6 +9,8 @@ services:
|
||||||
steps:
|
steps:
|
||||||
- name: Tests
|
- name: Tests
|
||||||
image: node:jod
|
image: node:jod
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y git wget curl build-essential python3 ffmpeg
|
- apt-get update && apt-get install -y git wget curl build-essential python3 ffmpeg
|
||||||
- cp .config/ci.yml .config/default.yml
|
- cp .config/ci.yml .config/default.yml
|
||||||
|
@ -25,3 +24,16 @@ steps:
|
||||||
- pnpm run --filter='!megalodon' test
|
- pnpm run --filter='!megalodon' test
|
||||||
- pnpm run --filter=backend --filter=misskey-js lint
|
- pnpm run --filter=backend --filter=misskey-js lint
|
||||||
- pnpm run --filter=frontend --filter=frontend-embed eslint
|
- 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