hi guys, trying to follow the example from the <CL...
# general
b
hi guys, trying to follow the example from the CLI page I get the following err:
Copy code
docker run --rm  -w ${PWD}  -v ${PWD}:${PWD}  -e PACT_BROKER_BASE_URL  -e PACT_BROKER_USERNAME  -e PACT_BROKER_PASSWORD   pactfoundation/pact-cli:latest   publish   ${PWD}/example/pacts   --consumer-app-version fake-git-sha-for-demo-$(date +%s)   --tag-with-git-branch
fatal: detected dubious ownership in repository at '/home/myuser/workspace/pact-ruby-cli'
To add an exception for this directory, call:

	git config --global --add safe.directory /home/myuser/workspace/pact-ruby-cli
PactBroker::Client::Error - Command `git rev-parse --abbrev-ref HEAD` didn't return anything that could be identified as the current branch.
---------- running
Copy code
git config --global --add safe.directory /home/myuser/workspace/pact-ruby-cli
doesn't fix the err ---------- running
Copy code
git rev-parse --abbrev-ref HEAD
returns
master
b
fatal: detected dubious ownership in repository at '/home/myuser/workspace/pact-ruby-cli'
perceptive tool 😆
Please raise an issue in the pact-ruby-cli repo if you’re still having the issue @Basu Silviu
b
Thank you @Beth (pactflow.io/Pact Broker/pact-ruby) . I will.
@Beth (pactflow.io/Pact Broker/pact-ruby), at the moment, the only issue I am facing is the one in the next Thread: https://pact-foundation.slack.com/archives/C5F4KFKR8/p1670715914357109?thread_ts=1670333074.636179&amp;cid=C5F4KFKR8