Add git config about ownershio in Docker CI

This commit is contained in:
curquiza 2023-01-31 12:04:41 +01:00
parent 4549e0a36e
commit e269027cdd

View File

@ -52,6 +52,9 @@ jobs:
- name: Set build-args for Docker buildx - name: Set build-args for Docker buildx
id: build-metadata id: build-metadata
run: | run: |
# Define ownership
git config --global --add safe.directory /home/meili/actions-runner/_work/meilisearch/meilisearch
# Extract commit date # Extract commit date
commit_date=$(git show -s --format=%cd --date=iso-strict ${{ github.sha }}) commit_date=$(git show -s --format=%cd --date=iso-strict ${{ github.sha }})