chore(ci): add manual build and deploy step

This commit is contained in:
zima 2025-07-02 22:15:02 -07:00
parent 900bf8dd3c
commit 6ea0abbc19

View file

@ -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