nxtgauge-backend-rust/.woodpecker-base.yml
Ashwin Kumar 39107e4fa4 fix(woodpecker): use simple Dockerfile and reduce build complexity
- Replace complex caching with simple Dockerfile

- Remove cargo-chef complexity that was slowing builds

- Add .woodpecker-base.yml for separate base image builds

- Add Dockerfile.simple for faster builds

- Add Dockerfile.ultrafast for when base image exists
2026-04-10 12:56:28 +02:00

24 lines
526 B
YAML

when:
branch: [main, high-performance]
event: push
path:
- Cargo.toml
- Cargo.lock
- crates/**
steps:
- name: build-base-image
image: woodpeckerci/plugin-docker-buildx:5.0.0
settings:
registry: ghcr.io
repo: ghcr.io/traceworks2023/nxtgauge-rust-base
context: .
dockerfile: Dockerfile.base
tags:
- latest
- ${CI_COMMIT_SHA}
username:
from_secret: GHCR_USERNAME
password:
from_secret: GHCR_TOKEN
platforms: linux/amd64