1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

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

View File

@ -153,12 +153,8 @@ type: docker
steps: steps:
- name: build - name: build
image: golang:latest image: hrfee/jfa-go-build-docker:latest
commands: 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 - curl -sL https://git.io/goreleaser > goreleaser
- chmod +x goreleaser - chmod +x goreleaser
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist - ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist