Added DinD for windows build
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Joe Bellus 2022-09-28 21:26:54 -04:00
parent a9e915d219
commit 6b25955105
1 changed files with 13 additions and 1 deletions

View File

@ -42,6 +42,8 @@ steps:
volumes: volumes:
- name: temp - name: temp
path: /app path: /app
- name: dockersock
path: /var/run
commands: commands:
- cp -R /app/ui ./ui/build - cp -R /app/ui ./ui/build
- cargo install -f cross - cargo install -f cross
@ -51,7 +53,7 @@ steps:
- 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
- ./mc cp mailspy.tar.gz fivesigma/public/mailspy.tar.gz - ./mc cp mailspy.tar.gz fivesigma/public/mailspy-win.tar.gz
# when: # when:
# event: # event:
# - promote # - promote
@ -124,7 +126,17 @@ steps:
- staging - staging
- production - production
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes: volumes:
- name: temp - name: temp
temp: {} temp: {}
- name: dockersock
temp: {}