Fix partial builds on armv7
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bb333f1219
commit
3a03b6fbbc
|
@ -523,9 +523,9 @@ steps:
|
||||||
image: golang:1-alpine
|
image: golang:1-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk --no-cache add build-base git
|
- apk --no-cache add build-base git
|
||||||
- "[ -d docs ] || sed -i '/npm run build/d' ui/assets.go"
|
- "[ -f docs/docs.go ] || sed -i '/npm run build/d' ui/assets.go"
|
||||||
- "[ -d docs ] || go install github.com/swaggo/swag/cmd/swag@latest"
|
- "[ -f docs/docs.go ] || go install github.com/swaggo/swag/cmd/swag@latest"
|
||||||
- "[ -d docs ] || go generate -v ./..."
|
- "[ -f docs/docs.go ] || go generate -v ./..."
|
||||||
- go build -v -tags netgo,swagger,ui -ldflags '-w -X "main.Version=${DRONE_BRANCH}-${DRONE_COMMIT}" -X main.build=${DRONE_BUILD_NUMBER}' -o happydomain-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
|
- go build -v -tags netgo,swagger,ui -ldflags '-w -X "main.Version=${DRONE_BRANCH}-${DRONE_COMMIT}" -X main.build=${DRONE_BUILD_NUMBER}' -o happydomain-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
|
||||||
- ln happydomain-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7 happydomain
|
- ln happydomain-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7 happydomain
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue