diff --git a/.drone.yml b/.drone.yml index e9a9207..b3ae0e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,7 +37,7 @@ steps: - name: windows-deploy - image: rust:latest + image: wangjia184/rust-dind depends_on: [ build-ui, test ] volumes: - name: temp @@ -46,10 +46,8 @@ steps: path: /var/run commands: - cp -R /app/ui ./ui/build - - cargo install -f cross - cross build --target x86_64-pc-windows-gnu --release - - cargo build --release - - tar cvzf mailspy.tar.gz -C target/release mailspy + - tar cvzf mailspy.tar.gz -C target/x86_64-pc-windows-gnu/release mailspy - wget https://dl.min.io/client/mc/release/linux-amd64/mc - chmod +x mc - ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET