# CI/CD Pipeline ## Woodpecker CI **Config**: `.woodpecker/build-arm.yml` **Trigger**: push or manual event on `dev`, `stage`, `main` branches **Platform label**: `arm64` ## Pipeline Steps ### Step: build-push **Image**: `docker` (Docker-in-Docker) **Actions**: 1. Determine tag: `arm` for `main` branch, `{branch}-arm` for others 2. Build Docker image: `docker build -f Dockerfile -t localhost:5000/loader:$TAG .` 3. Push to local registry: `docker push localhost:5000/loader:$TAG` **Volumes**: Docker socket (`/var/run/docker.sock`) ## Notes - Only ARM64 builds are configured — no x86/amd64 build target - Registry is `localhost:5000` — a local Docker registry assumed to be running on the CI runner - No test step in the pipeline (no tests exist in the codebase) - No multi-stage build (single Dockerfile, no image size optimization)