ci: fix version in non-dev dockerfile

pull/1029/head
nils måsén 3 years ago committed by GitHub
parent 8b7b7d3b9b
commit ea300b7a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,7 +18,7 @@ RUN git clone --branch "${WATCHTOWER_VERSION}" https://github.com/containrrr/wat
RUN \ RUN \
cd watchtower && \ 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 GO111MODULE=on go test ./... -v

Loading…
Cancel
Save