From 294dfa22455b1c813613f226c6f03944df9c1d06 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Tue, 16 Apr 2024 19:14:47 +0300 Subject: [PATCH] .github: fetch tags for image build. If we build images from a shallow clone, git describe isn't able to determine a descriptive version derived from the latest tag. Therefore always fetch tags for image builds. Signed-off-by: Krisztian Litkey --- .github/workflows/publish-images.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 51ace0f23..884a51e3c 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -23,6 +23,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-tags: true - name: Build images run: make images