Change dind image
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Joe Bellus 2022-09-28 21:39:17 -04:00
parent 6b25955105
commit 970f5424dc
1 changed files with 2 additions and 4 deletions

View File

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