From 09549b01787dbe44f77655e588e719c517dd7f9d Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 14 Jun 2020 04:36:20 -0400 Subject: [PATCH] Fix volume issue --- .drone.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 96dfdb6..f18b45c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,24 +8,36 @@ steps: commands: - mkdir -p /build/i386 - GOOS=linux GOARCH=386 go build -o /build/i386/deb-simple + volumes: + - name: build + path: /build - name: build-amd64 image: golang:latest group: build commands: - mkdir -p /build/amd64 - - go build -o /build/amd64/deb-simple + - go build -o /build/amd64/deb-simple\ + volumes: + - name: build + path: /build - name: build-armv7 image: golang:latest group: build commands: - mkdir -p /build/armv7 - GOOS=linux GOARCH=arm GOARM=7 go build -o /build/armv7/deb-simple + volumes: + - name: build + path: /build - name: build-arm64 image: golang:latest group: build commands: - mkdir -p /build/arm64 - GOOS=linux GOARCH=arm64 go build -o /build/arm64/deb-simple + volumes: + - name: build + path: /build - name: package image: tystuyfzand/fpm commands: @@ -35,6 +47,9 @@ steps: - ARCH=amd64 packaging/build-package.sh - ARCH=armv7 packaging/build-package.sh - ARCH=arm64 packaging/build-package.sh + volumes: + - name: build + path: /build - name: repo image: tystuyfzand/drone-deb-simple volumes: