nxtgauge-backend-rust/.woodpecker-base.yml
Ashwin Kumar ca9f9acf79 fix(ci): redirect docker-buildx to private registry
- Use REGISTRY_HOSTPORT for registry (not docker.io or ghcr.io)
- Use REGISTRY_USERNAME/REGISTRY_PASSWORD for auth
- Fix repo path to not include full URL or username prefix
2026-04-12 13:39:29 +02:00

25 lines
545 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:
from_secret: REGISTRY_HOSTPORT
repo: nxtgauge-rust-base
context: .
dockerfile: Dockerfile.base
tags:
- latest
- ${CI_COMMIT_SHA}
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
platforms: linux/amd64