Skip to content

Commit

Permalink
ci: fix version in non-dev dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel authored Jun 29, 2021
1 parent 8b7b7d3 commit ea300b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.self-contained
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN git clone --branch "${WATCHTOWER_VERSION}" https://github.com/containrrr/wat
RUN \
cd watchtower && \
\
GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -ldflags "-extldflags '-static' -X github.com/containrrr/watchtower/cmd.version=$(git describe --tags)" . && \
GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -ldflags "-extldflags '-static' -X github.com/containrrr/watchtower/internal/meta.Version=$(git describe --tags)" . && \
GO111MODULE=on go test ./... -v


Expand Down

0 comments on commit ea300b7

Please sign in to comment.