-
-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Labels
Description
Describe the bug
When attempting to get a git-resource
, we receive the git error detected dubious ownership
instead of pulling the source code.
Reproduction steps
-
Deploy concourse quickstart using provided docker-compose.yml (using Concourse 7.9.1)
-
Deploy a simple pipeline:
resources:
- name: git-repo
type: git
icon: git
source:
uri: http://gitea:3000/org1/myproject
username: ((gitea.username))
password: ((gitea.password))
jobs:
- name: validate-repo
plan:
- get: git-repo
trigger: false
- task: list-files
config:
inputs:
- name: git-repo
platform: linux
image_resource:
type: registry-image
source:
repository: busybox
run:
path: tree
- Unpause the pipeline
- Receive the following error:
selected worker: 31354ca107d3
Cloning into '/tmp/build/get'...
fatal: detected dubious ownership in repository at '/tmp/build/get'
To add an exception for this directory, call:
git config --global --add safe.directory /tmp/build/get
...
Expected behavior
Expect the git repo to be available for pipeline consumption,
Additional context
No response
ismail-temiz