CI: Add git info into admin binary
This commit is contained in:
parent
2ca3d1471f
commit
6407970dfa
@ -10,9 +10,9 @@ COPY libfic ./libfic/
|
|||||||
COPY admin ./admin/
|
COPY admin ./admin/
|
||||||
COPY repochecker ./repochecker/
|
COPY repochecker ./repochecker/
|
||||||
|
|
||||||
RUN apk add --no-cache build-base && \
|
RUN apk add --no-cache build-base git && \
|
||||||
go get -d -v ./admin && \
|
go get -d -v ./admin && \
|
||||||
go build -v -buildvcs=false -o admin/admin ./admin && \
|
go build -v -o admin/admin ./admin && \
|
||||||
go build -v -buildmode=plugin -o repochecker/epita-rules.so ./repochecker/epita && \
|
go build -v -buildmode=plugin -o repochecker/epita-rules.so ./repochecker/epita && \
|
||||||
go build -v -buildmode=plugin -o repochecker/file-inspector.so ./repochecker/file-inspector && \
|
go build -v -buildmode=plugin -o repochecker/file-inspector.so ./repochecker/file-inspector && \
|
||||||
go build -v -buildmode=plugin -o repochecker/grammalecte-rules.so ./repochecker/grammalecte && \
|
go build -v -buildmode=plugin -o repochecker/grammalecte-rules.so ./repochecker/grammalecte && \
|
||||||
|
Loading…
Reference in New Issue
Block a user