Fix volume issue
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
27fafa8b80
commit
09549b0178
17
.drone.yml
17
.drone.yml
|
@ -8,24 +8,36 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /build/i386
|
- mkdir -p /build/i386
|
||||||
- GOOS=linux GOARCH=386 go build -o /build/i386/deb-simple
|
- GOOS=linux GOARCH=386 go build -o /build/i386/deb-simple
|
||||||
|
volumes:
|
||||||
|
- name: build
|
||||||
|
path: /build
|
||||||
- name: build-amd64
|
- name: build-amd64
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
group: build
|
group: build
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /build/amd64
|
- 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
|
- name: build-armv7
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
group: build
|
group: build
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /build/armv7
|
- mkdir -p /build/armv7
|
||||||
- GOOS=linux GOARCH=arm GOARM=7 go build -o /build/armv7/deb-simple
|
- GOOS=linux GOARCH=arm GOARM=7 go build -o /build/armv7/deb-simple
|
||||||
|
volumes:
|
||||||
|
- name: build
|
||||||
|
path: /build
|
||||||
- name: build-arm64
|
- name: build-arm64
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
group: build
|
group: build
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /build/arm64
|
- mkdir -p /build/arm64
|
||||||
- GOOS=linux GOARCH=arm64 go build -o /build/arm64/deb-simple
|
- GOOS=linux GOARCH=arm64 go build -o /build/arm64/deb-simple
|
||||||
|
volumes:
|
||||||
|
- name: build
|
||||||
|
path: /build
|
||||||
- name: package
|
- name: package
|
||||||
image: tystuyfzand/fpm
|
image: tystuyfzand/fpm
|
||||||
commands:
|
commands:
|
||||||
|
@ -35,6 +47,9 @@ steps:
|
||||||
- ARCH=amd64 packaging/build-package.sh
|
- ARCH=amd64 packaging/build-package.sh
|
||||||
- ARCH=armv7 packaging/build-package.sh
|
- ARCH=armv7 packaging/build-package.sh
|
||||||
- ARCH=arm64 packaging/build-package.sh
|
- ARCH=arm64 packaging/build-package.sh
|
||||||
|
volumes:
|
||||||
|
- name: build
|
||||||
|
path: /build
|
||||||
- name: repo
|
- name: repo
|
||||||
image: tystuyfzand/drone-deb-simple
|
image: tystuyfzand/drone-deb-simple
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue