From b20121b9969a34b6361c4a14869c2ff60ef039da Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Mon, 22 Jan 2024 17:52:48 -0500 Subject: [PATCH] test --- .drone.yml | 2 +- Dockerfile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1759f35..53bc3d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,7 +24,7 @@ steps: - name: fetch tags image: alpine/git commands: - - git fetch --tags + - git fetch --tags --force # Publish docker image - name: publish docker diff --git a/Dockerfile b/Dockerfile index af8b60a..1b4c9fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,10 @@ RUN mkdir -p /opt/antholume WORKDIR /src COPY . . +# Test +RUN git log --oneline | head +RUN git describe --tags + # Compile RUN go build \ -ldflags "-X reichard.io/antholume/config.version=`git describe --tags`" \