This commit is contained in:
@@ -12,6 +12,10 @@ RUN mkdir -p /opt/antholume
|
|||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# Test
|
||||||
|
RUN git log --oneline | head
|
||||||
|
RUN git describe --tags
|
||||||
|
|
||||||
# Compile
|
# Compile
|
||||||
RUN go build \
|
RUN go build \
|
||||||
-ldflags "-X reichard.io/antholume/config.version=`git describe --tags`" \
|
-ldflags "-X reichard.io/antholume/config.version=`git describe --tags`" \
|
||||||
|
|||||||
Reference in New Issue
Block a user