Native builds in Docker file and multiarch build by Drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lauri Võsandi 2023-09-13 11:32:32 +03:00 committed by Lauri Võsandi
parent aa37e8e291
commit 5e64dfa04a
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +1,2 @@
kind: template
load: docker.yaml
load: docker-multiarch.yaml

View File

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