add volume to build in

This commit is contained in:
garionion 2021-07-31 23:42:10 +02:00
parent 4c0f4fcc2f
commit 62edd39dec

View file

@ -13,11 +13,21 @@ trigger:
steps: steps:
- name: clone - name: clone
image: alpine/git image: alpine/git
volumes:
- name: build
path: /
commands: commands:
- git clone https://git.entr0py.de/garionion/fluffychat.git . - git clone https://git.entr0py.de/garionion/fluffychat.git .
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
- name: build - name: build
image: archlinux/base-devel image: archlinux/base-devel
volumes:
- name: build
path: /
commands: commands:
- ls -al - ls -al
volumes:
- name: build
temp: {}