git rev-parse --short=7 HEAD > GITCOMMIT_SHA
fatal: detected dubious ownership in repository at '/go/src/github.com/awslabs/amazon-ecr-credential-helper'
To add an exception for this directory, call:
git config --global --add safe.directory /go/src/github.com/awslabs/amazon-ecr-credential-helper
make: *** [Makefile:95: GITCOMMIT_SHA] Error 128
Description of changes:
Adds /go/src/github.com/awslabs/amazon-ecr-credential-helper to git as a safe directory.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: Fixes the following error when running
make build-in-docker
for ISSUE: https://github.com/awslabs/amazon-ecr-credential-helper/issues/800Description of changes:
/go/src/github.com/awslabs/amazon-ecr-credential-helper
to git as a safe directory.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.