24 lines
528 B
YAML
24 lines
528 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: registry.nxtgauge.com
|
|
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
|