This repository was archived by the owner on Dec 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o "mkcert-$(git describe --tags)-windows-amd64.exe" -ldflags "-X main.Version=$(git describe --tags)"
4343 CGO_ENABLED=0 GOOS=windows GOARCH=arm go build -o "mkcert-$(git describe --tags)-windows-arm.exe" -ldflags "-X main.Version=$(git describe --tags)"
4444 CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o "mkcert-$(git describe --tags)-windows-386.exe" -ldflags "-X main.Version=$(git describe --tags)"
45+ # TODO: When golang v1.16 comes out, make this a simple build using go instead of gotip (lose docker)
46+ docker run --rm -w /workdir -v "$(PWD):/workdir" -e GOPATH="/go" -e "GOCACHE=/workdir/.gotmp" drud/golang-build-container:v1.15.6 bash -c "CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 gotip build -o \"mkcert-$(git describe --tags)-darwin-arm64\" -ldflags \"-X main.Version=$(git describe --tags)\" "
Original file line number Diff line number Diff line change 3939 CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o "mkcert-$(git describe --tags)-windows-amd64.exe" -ldflags "-X main.Version=$(git describe --tags)"
4040 CGO_ENABLED=0 GOOS=windows GOARCH=arm go build -o "mkcert-$(git describe --tags)-windows-arm.exe" -ldflags "-X main.Version=$(git describe --tags)"
4141 CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o "mkcert-$(git describe --tags)-windows-386.exe" -ldflags "-X main.Version=$(git describe --tags)"
42+ # TODO: When golang v1.16 comes out, make this a simple build using go instead of gotip (lose docker)
43+ docker run --rm -w /workdir -v "$(PWD):/workdir" -e GOPATH="/go" -e "GOCACHE=/workdir/.gotmp" drud/golang-build-container:v1.15.6 bash -c "CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 gotip build -o \"mkcert-$(git describe --tags)-darwin-arm64\" -ldflags \"-X main.Version=$(git describe --tags)\" "
4244
4345 - name : Publish artifacts
4446 uses : ncipollo/release-action@v1
Original file line number Diff line number Diff line change @@ -14,15 +14,6 @@ script:
1414 # TODO: When golang v1.16 comes out, make this a simple build using go instead of gotip (lose docker)
1515 - docker run --rm -w /workdir -v "$(PWD):/workdir" -e GOPATH="/go" -e "GOCACHE=/workdir/.gotmp" drud/golang-build-container:v1.15.6 bash -c "CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 gotip build -o \"mkcert-$(git describe --tags)-darwin-arm64\" -ldflags \"-X main.Version=$(git describe --tags)\" "
1616
17- DOCKERBUILDCMD=docker run -t --rm \
18- -v "/$(PWD)://workdir$(DOCKERMOUNTFLAG)" \
19- -e GOPATH="//workdir/$(GOTMP)" \
20- -e GOCACHE="//workdir/$(GOTMP)/.cache" \
21- -e GOFLAGS="$(USEMODVENDOR)" \
22- -e CGO_ENABLED=0 \
23- -w //workdir \
24- $(BUILD_IMAGE)
25-
2617deploy :
2718 provider : releases
2819 skip_cleanup : true
You can’t perform that action at this time.
0 commit comments