solana_scanner/.drone.yml

50 lines
1.0 KiB
YAML
Raw Permalink Normal View History

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/tooling/drone-rust-plugin:latest
pull: always
commands:
2025-05-26 11:30:53 +02:00
- cargo build --release --target x86_64-unknown-linux-musl
- name: docker build & push
image: plugins/docker
environment:
PLUGIN_MTU: 1300
DRONE_REGISTRY_PLUGIN_ENDPOINT: code.raybernat.com
DRONE_REGISTRY_PLUGIN_TOKEN: fd8fe4ad4ef1b2eb88fdfebffeeb847ebfbe3bf6
privileged: true
settings:
dockerfile: Dockerfile
2025-05-26 14:42:16 +02:00
username: drone_publish_token
password:
from_secret: gitea_secret
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
image_pull_secrets:
- gitea_docker_registry