From 56997774ed0e15b36de267cb9245aedbf0633bbc Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 9 Jan 2022 15:19:22 +0100 Subject: [PATCH] Changed CI vars --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1e659c7..1fc7df2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY . . RUN go get -d -v ./... -RUN go build -a -installsuffix -ldflags="-w -s -X $I_PACKAGE.GitCommitShort=$I_GitCommitShort -X $I_PACKAGE.GitBranch=$I_GitBranch" -o app . +RUN go build -a -installsuffix -ldflags="-w -s -X $I_PACKAGE.GitCommitShort=$CI_COMMIT_SHORT_SHA -X $I_PACKAGE.GitBranch=$CI_COMMIT_BRANCH" -o app . FROM scratch as production WORKDIR /