Fix docker version injection
This commit is contained in:
parent
515d32d491
commit
1229b9d2c6
@ -11,7 +11,7 @@ COPY go.sum /go/src/app/go.sum
|
|||||||
COPY .git /go/src/app/.git
|
COPY .git /go/src/app/.git
|
||||||
|
|
||||||
# build
|
# build
|
||||||
RUN go build -ldflags "-X github.com/noqqe/serra/src/serra.Version=`git describe --tags`" -v cmd/serra/serra.go
|
RUN go build -ldflags "-X github.com/noqqe/serra/pkg/serra.Version=`git describe --tags`" -v cmd/serra/serra.go
|
||||||
|
|
||||||
# copy
|
# copy
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user