fix: CI builds

This commit is contained in:
Mohamed Sohail 2023-02-20 10:26:21 +00:00
parent cf1f9f34c3
commit 3d9c4390a7
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ builds:
- linux - linux
goarch: goarch:
- amd64 - amd64
main: ./cmd main: ./cmd/service
ldflags: ldflags:
- -s -w - -s -w

View File

@ -2,7 +2,7 @@ FROM golang:1.19-bullseye as build
WORKDIR /build WORKDIR /build
COPY . . COPY . .
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o cic-custodial -ldflags="-s -w" cmd/*.go RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o cic-custodial -ldflags="-s -w" cmd/service/*.go
FROM debian:bullseye-slim FROM debian:bullseye-slim