From e5f2d847282cb93ab45cc13b1ed1c8292b165bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Wed, 31 Jul 2024 10:33:07 +0200 Subject: [PATCH] Check if we have git available --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index cb430f0..f622e75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,6 @@ COPY go.mod go.sum ./ RUN go mod download && go mod verify COPY . . +RUN git rev-parse HEAD RUN go build -o /usr/local/bin/deploy ./deploy && \ go build -o /usr/local/bin/delete ./delete