drone: use custom container for pr builds

This commit is contained in:
Harvey Tindall 2021-07-16 16:50:31 +01:00
parent 872c366384
commit 1336a87ae2
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 1 additions and 5 deletions

View File

@ -153,12 +153,8 @@ type: docker
steps:
- name: build
image: golang:latest
image: hrfee/jfa-go-build-docker:latest
commands:
- apt-get update -y
- apt-get install build-essential python3-pip curl software-properties-common sed upx gcc libgtk-3-dev libappindicator3-dev gcc-mingw-w64-x86-64 -y
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
- apt-get install nodejs
- curl -sL https://git.io/goreleaser > goreleaser
- chmod +x goreleaser
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist