docs/build/cli/ci/example.md
Snider 85bbb8e828 docs: initial import of CorePHP documentation
173 markdown files covering:
- Framework architecture (lifecycle events, module system, multi-tenancy)
- Package docs (admin, api, mcp, tenant, commerce, content, developer)
- CLI reference (dev, build, go, php, deploy commands)
- Patterns (actions, repositories, seeders, services, HLCRF)
- Deployment (Docker, PHP, LinuxKit, templates)
- Publishing (Homebrew, AUR, npm, Docker, Scoop, Chocolatey)

Source: core-php/docs (core.help content)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-03 17:51:03 +00:00

1 KiB

CI Examples

Quick Start

# Build first
core build

# Preview release
core ci

# Publish
core ci --we-are-go-for-launch

Configuration

.core/release.yaml:

version: 1

project:
  name: myapp
  repository: host-uk/myapp

publishers:
  - type: github

Publisher Examples

GitHub + Docker

publishers:
  - type: github

  - type: docker
    registry: ghcr.io
    image: host-uk/myapp
    platforms:
      - linux/amd64
      - linux/arm64
    tags:
      - latest
      - "{{.Version}}"

Full Stack (GitHub + npm + Homebrew)

publishers:
  - type: github

  - type: npm
    package: "@host-uk/myapp"
    access: public

  - type: homebrew
    tap: host-uk/homebrew-tap

LinuxKit Image

publishers:
  - type: linuxkit
    config: .core/linuxkit/server.yml
    formats:
      - iso
      - qcow2
    platforms:
      - linux/amd64
      - linux/arm64

Changelog Configuration

changelog:
  include:
    - feat
    - fix
    - perf
  exclude:
    - chore
    - docs
    - test