25 lines
526 B
YAML
25 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
|