# .woodpecker.yml
platform: linux/arm64
pipeline:
build:
image: node:18-alpine
commands:
- apk add git
- npm ci
- mkdir build
- npm run bundleRelease
buildBin:
image: node:18
- npm run build-arm
- mkdir upload
- cp build/bin/* upload
publish:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://codeberg.org
files:
- "upload/*"
api_key:
from_secret: gitea_token
when:
event: tag
depends_on:
- test