🔍 Added VCS flag support for container building

This commit is contained in:
Maxim Lebedev 2023-11-05 19:11:08 +06:00
parent 87539aa6fc
commit 59e7a569b3
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 1 additions and 1 deletions

View File

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