From e269027cdd9bde88b012c5248c010a0a323c17e6 Mon Sep 17 00:00:00 2001 From: curquiza Date: Tue, 31 Jan 2023 12:04:41 +0100 Subject: [PATCH] Add git config about ownershio in Docker CI --- .github/workflows/publish-docker-images.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-docker-images.yml b/.github/workflows/publish-docker-images.yml index 3dd93b6eb..2e62630ee 100644 --- a/.github/workflows/publish-docker-images.yml +++ b/.github/workflows/publish-docker-images.yml @@ -52,6 +52,9 @@ jobs: - name: Set build-args for Docker buildx id: build-metadata run: | + # Define ownership + git config --global --add safe.directory /home/meili/actions-runner/_work/meilisearch/meilisearch + # Extract commit date commit_date=$(git show -s --format=%cd --date=iso-strict ${{ github.sha }})