attempt to decrease build times
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Elizabeth Hunt 2024-10-14 19:50:26 -07:00
parent 3735959ff9
commit 345ae7e1d2
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 2909B9A7FF6213EE
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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