Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsalvador-tf committed Sep 15, 2023
1 parent 15da432 commit 939f348
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/secrets-scan/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ get_gitleaks_container() {
public_gitleaks=${repo_name}

# Based on https://gist.github.com/outofcoffee/8f40732aefacfded14cce8a45f6e5eb1
echo "running aws ecr describe images"
set -x
aws ecr describe-images --repository-name=${mirror_repo_name} --image-ids=${image_ids} --registry-id=${registry_id}
exit_code=$?
set +x
aws ecr describe-images --repository-name=${mirror_repo_name} --image-ids=${image_ids} --registry-id=${registry_id} &>/dev/null

if [ $exit_code -eq 0 ]; then
echo $mirrored_gitleaks
Expand Down

0 comments on commit 939f348

Please sign in to comment.