go/docs/examples/publish-linuxkit.yaml
Snider 4ae16dc09e docs(examples): add publish-* configuration examples
Publisher configuration examples for each target:
- publish-github.yaml - GitHub Releases (foundation)
- publish-npm.yaml - npm binary wrapper
- publish-homebrew.yaml - Homebrew formula + tap
- publish-scoop.yaml - Scoop manifest (Windows)
- publish-aur.yaml - AUR PKGBUILD (Arch Linux)
- publish-chocolatey.yaml - Chocolatey NuSpec (Windows)
- publish-docker.yaml - Multi-arch containers
- publish-linuxkit.yaml - Immutable images
- publish-all.yaml - All publishers combined

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:47:01 +00:00

36 lines
824 B
YAML

# Example: LinuxKit Publisher
# Immutable Linux images uploaded to GitHub release
type: linuxkit
# LinuxKit YAML configuration
config: .core/linuxkit/server.yml
# Output formats
formats:
- iso # Bootable ISO (bare metal, VMs)
- qcow2 # QEMU/KVM/Proxmox
- raw # Raw disk image
- vmdk # VMware
- docker # Docker-loadable tarball
# Target platforms
platforms:
- linux/amd64
- linux/arm64
# Environment: linuxkit CLI installed
#
# Artifacts uploaded to GitHub release:
# - myapp-v1.0.0-amd64.iso
# - myapp-v1.0.0-amd64.qcow2
# - myapp-v1.0.0-amd64.docker.tar
# - myapp-v1.0.0-arm64.iso
# - ...
#
# Usage:
# # Boot ISO
# qemu-system-x86_64 -cdrom myapp-v1.0.0-amd64.iso -m 1024
#
# # Load Docker image
# docker load < myapp-v1.0.0-amd64.docker.tar