ci: add vet and test steps, fix build targets to src directory
- Add go vet and go test steps to CI workflow - Update Dockerfile and CI build commands to target ./src - Comment out build jobs for Linux and Windows - Fix build paths across the workflow configuration
This commit is contained in:
@@ -13,7 +13,7 @@ RUN /usr/local/go/bin/go env -w GOPROXY=https://go.iranserver.com/repository/go/
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o auth-proxy .
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o auth-proxy ./src
|
||||
|
||||
# Runtime stage
|
||||
FROM docker.iranserver.com/alpine:3.23
|
||||
|
||||
Reference in New Issue
Block a user