Native builds in Docker file and multiarch build by Drone
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aa37e8e291
commit
5e64dfa04a
@ -1,2 +1,2 @@
|
||||
kind: template
|
||||
load: docker.yaml
|
||||
load: docker-multiarch.yaml
|
||||
|
@ -11,8 +11,6 @@ RUN go mod download && go mod verify
|
||||
COPY . .
|
||||
|
||||
ENV GOBUILDLDFLAGS="-linkmode 'external' -extldflags '-static'"
|
||||
ENV GOOS=linux
|
||||
ENV GOARCH=arm64
|
||||
RUN go build -tags netgo .
|
||||
|
||||
FROM scratch
|
||||
|
Loading…
Reference in New Issue
Block a user