attempt to decrease build times
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
3735959ff9
commit
345ae7e1d2
|
@ -8,6 +8,7 @@ steps:
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go install -v
|
- go install -v
|
||||||
|
- go build -tags purego
|
||||||
- go test -p 1 -v ./...
|
- go test -p 1 -v ./...
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -24,6 +25,7 @@ steps:
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go install -v
|
- go install -v
|
||||||
|
- go build -tags purego
|
||||||
- go test -p 1 -v ./...
|
- go test -p 1 -v ./...
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|
|
@ -8,7 +8,7 @@ RUN go mod download
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN go install -v
|
RUN go install -v
|
||||||
RUN go build -o /app/hatecomputers
|
RUN go build -tags purego -o /app/hatecomputers
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue