From 6b5defc76d71c184a5a7a5e82f2a9c0eaf3a65f3 Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Sun, 11 Feb 2024 23:54:34 +0100 Subject: [PATCH] CI: Ensure we clone the whole repo We have to make sure we clone the whole repo, so that `git describe` works as expected. Without it, we get version 0.0.0, not what we want. Signed-off-by: Olliver Schinagl --- .github/workflows/container-build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/container-build.yaml b/.github/workflows/container-build.yaml index a32220dc3..199324584 100644 --- a/.github/workflows/container-build.yaml +++ b/.github/workflows/container-build.yaml @@ -32,6 +32,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up QEMU uses: docker/setup-qemu-action@v2 -- 2.47.2