Skip to content

Commit

Permalink
test: git ref
Browse files Browse the repository at this point in the history
  • Loading branch information
shanehull committed Sep 4, 2024
1 parent 803ebcf commit 33aec5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN update-ca-certificates

RUN go install github.com/a-h/templ/cmd/templ@latest

ARG GIT_TAG=$(git describe --tags --exact-match 2>/dev/null || git rev-parse --abbrev-ref HEAD)
ARG GIT_TAG="unknown"

RUN GO_ENABLED=0 GOOS=linux go build \
-ldflags "-X debtrecyclingcalc.com/internal/buildinfo.GitTag=${GIT_TAG}"\
Expand Down

0 comments on commit 33aec5c

Please sign in to comment.