aboutsummaryrefslogtreecommitdiff
path: root/.github/docker
diff options
context:
space:
mode:
authorEmiliano Ciavatta2021-07-28 11:00:36 +0000
committerEmiliano Ciavatta2021-07-28 11:00:36 +0000
commit489ae5c7c65e7f60c3a0e5dc86b1e669e7bf67b5 (patch)
tree590d7c7196605051739d9b330a739eb1feee3db8 /.github/docker
parentc6b52a15fbbdbf4e9a089cc0b58fc82252d6f71b (diff)
Update test backend dockerfile
Diffstat (limited to '.github/docker')
-rw-r--r--.github/docker/Dockerfile-backend5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/docker/Dockerfile-backend b/.github/docker/Dockerfile-backend
index 06036e4..82ed29f 100644
--- a/.github/docker/Dockerfile-backend
+++ b/.github/docker/Dockerfile-backend
@@ -11,8 +11,7 @@ WORKDIR /caronte
COPY . ./
-RUN export VERSION=$(git describe --tags --abbrev=0) && \
- go mod download && \
- go build -ldflags "-X main.Version=$VERSION"
+RUN go mod download && \
+ go build
ENTRYPOINT go test -v -race -covermode=atomic