Lint / lint (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-detectors (push) Waiting to run
* Update entrypoint. * update comment. * Call each extra arg on its own. * Update loop. * Update extra args. * Use miccah's magic script. * Fix path to bash. * update entrypoint. * Add bash to Dockerfile. * update goreleaser dockerfile.
6 lines
209 B
Bash
Executable File
6 lines
209 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Parse the last argument into an array of extra_args.
|
|
mapfile -t extra_args < <(bash -c "for arg in ${*: -1}; do echo \$arg; done")
|
|
|
|
/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}" |