solana_scanner/.drone.yml
Alexandre RAY-BERNAT 2f0781b2a6
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Retrieves social infos + post on Telegram
2025-05-23 17:08:18 +02:00

47 lines
954 B
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/tooling/drone-rust-plugin:latest
pull: always
commands:
- cargo build
- 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
repo: code.raybernat.com/alex/solana_scanner
registry: code.raybernat.com
username: drone
password:
from_secret: kaniko_registry_password
tags:
- latest
- ${DRONE_COMMIT_SHA}
depends_on:
- "check & build"
when:
event:
- push
trigger:
event:
- pull_request
- push
branch:
- main