mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Docker build fix (#4298)
* Configure safe directory for git * Test docker run on PR * Disable docker build for PR
This commit is contained in:
		| @@ -2,6 +2,9 @@ | ||||
| # exit when any command fails | ||||
| set -e | ||||
|  | ||||
| # Required to suppress some git errors further down the line | ||||
| git config --global --add safe.directory /home/*** | ||||
|  | ||||
| # Create required directory structure (if it does not already exist) | ||||
| if [[ ! -d "$INVENTREE_STATIC_ROOT" ]]; then | ||||
|     echo "Creating directory $INVENTREE_STATIC_ROOT" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user