🔍 Added VCS flag support for container building
This commit is contained in:
parent
87539aa6fc
commit
59e7a569b3
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ FROM golang:alpine AS builder
|
|||
WORKDIR /app
|
||||
|
||||
ENV CGO_ENABLED=0
|
||||
ENV GOFLAGS=-mod=vendor
|
||||
ENV GOFLAGS="-mod=vendor -buildvcs=true"
|
||||
|
||||
COPY go.mod go.sum *.go ./
|
||||
COPY internal ./internal/
|
||||
|
|
Loading…
Reference in a new issue