|
|
@ -18,7 +18,7 @@ COPY . /watchtower
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|