diff --git a/.drone.jsonnet b/.drone.jsonnet index 3c0269e..421e211 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,5 +1,5 @@ local executableName = 'newsletter-to-web'; -local build_image = 'rust:1.70'; +local build_image = 'img.kie.rs/jjkiers/rust-cross:rust1.70-zig'; local archs = [ { target: 'aarch64-unknown-linux-musl', short: 'arm64-musl' }, @@ -27,8 +27,6 @@ local add_build_steps() = [ image: build_image, commands: [ 'echo Hello World from Jsonnet on ' + arch.target + '!', - 'rustup target add ' + arch.target, - 'scripts/prepare-build.sh', 'cargo zigbuild --release --target ' + arch.target, 'cp target/' + arch.target + '/release/' + builtExecutableName(arch) + ' artifacts/' + targetExecutableName(arch), 'rm -rf target/' + arch.target + '/release/*',