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