ci: fetch the whole repo when setting build meta (#6017)

We need the whole repository history to get information about specific
commits to set some build metadata, such as BUILD_VERSION.
This commit is contained in:
Marco Ferrari 2024-08-13 15:36:55 +02:00 committed by GitHub
parent 82094c879b
commit 1d104357a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 0
- name: Set build metadata
run: |

View file

@ -28,7 +28,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 0
- name: Set build metadata
id: set-container-image-build-metadata