🐳 Added VCS flag in container building step

This commit is contained in:
Maxim Lebedev 2023-11-06 04:30:52 +06:00
parent eb9a5017a7
commit 6367abc9d8
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/