drone-test/.drone.jsonnet
Jacob Kiers ce9478aed8
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Fix build command
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-12-14 17:09:55 +01:00

34 lines
584 B
Plaintext

{
kind: 'pipeline',
type: 'digitalocean',
name: 'default',
token: {
from_secret: 'digitalocean_pat',
},
platform: {
arch: 'amd64',
},
server: {
image: 'docker-20-04',
size: 's-1vcpu-1gb',
region: 'fra1',
},
steps:
[
{
name: 'Hello bash!',
image: 'bash:latest',
commands: [
'echo Hello from DigitalOcean VM',
],
},
{
name: 'Hello Rust!',
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
commands: [
'cargo run',
],
},
],
}