Files
Cinderwatch/.woodpecker/build.yaml
Phoenix/HotaruBlaze eef2cb7558
Some checks failed
ci/woodpecker/push/build Pipeline failed
Fix woodpecker missing branch and fix cargo fmt
2026-06-03 21:40:02 +01:00

37 lines
842 B
YAML

when:
- event: push
branch: master
- event: pull_request
branch: master
clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1
lfs: false
steps:
- name: lint
image: rust:1.96.0-slim-trixie
commands:
- rustup component add clippy rustfmt
- cargo fmt --check
- cargo clippy -- -D warnings
- name: build docker image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.infernonode.com/hotarublaze/cinderwatch
registry: git.infernonode.com
tags: latest
cache_images:
- git.infernonode.com/hotarublaze/cinderwatch:cache
username:
from_secret: docker_woodpecker_username
password:
from_secret: docker_woodpecker_pat
platforms: linux/amd64
when:
- event: push
branch: master