diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c3e3925..d1c32ed 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,4 +20,4 @@ jobs: uses: golangci/golangci-lint-action@v4 with: version: latest - working-directory: ./... + working-directory: . diff --git a/cmd/auth/dockerfile b/cmd/auth/dockerfile index 90c29a6..4432ddb 100644 --- a/cmd/auth/dockerfile +++ b/cmd/auth/dockerfile @@ -4,6 +4,8 @@ WORKDIR /app COPY . . +RUN go get ./... + RUN GOOS=linux GOARCH=arm64 go build -o auth-service RUN apk update && apk add ca-certificates && update-ca-certificates diff --git a/cmd/backend/dockerfile b/cmd/backend/dockerfile index 45bce00..29ec584 100644 --- a/cmd/backend/dockerfile +++ b/cmd/backend/dockerfile @@ -4,6 +4,8 @@ WORKDIR /app COPY . . +RUN go get ./... + RUN GOOS=linux GOARCH=arm64 go build -o backend RUN apk update && apk add ca-certificates && update-ca-certificates