solana_scanner/.drone.yml
Alexandre RAY-BERNAT dc2420c299
Some checks reported errors
continuous-integration/drone/push Build was killed
Retrieves social infos + post on Telegram
2025-05-12 10:17:12 +02:00

49 lines
1.1 KiB
YAML

kind: pipeline
type: kubernetes
name: build
platform:
os: linux
arch: amd64
dns_config:
options:
- name: ndots
value: "1"
steps:
- name: check & build
image: code.raybernat.com/tools/drone-rust-plugin:latest
pull: always
commands:
- cargo build --release --target x86_64-unknown-linux-musl
- cargo clippy # Linter checks
- cargo fmt --check # Code formatting
- dhall-to-toml --file deny.dhall --output deny.toml # Merge your deny.dhall with the common one and produce the deny.toml
- cargo deny check # Check vulnerabilities and licences for (transitives dependencies).
- name: docker build & push
image: plugins/docker
environment:
PLUGIN_MTU: 1300
settings:
dockerfile: Dockerfile
username: drone
password:
from_secret: kaniko_registry_password
repo: code.raybernat.com/alex/solana_scanner
registry: code.raybernat.com
tags:
- latest
- ${DRONE_COMMIT_SHA}
depends_on:
- "check & build"
when:
event:
- push
trigger:
event:
- pull_request
- push
branch:
- main