Skip to content

Commit

Permalink
Merge pull request #68 from meysam81/main
Browse files Browse the repository at this point in the history
fix: scan private registries
  • Loading branch information
matthyx authored Dec 2, 2024
2 parents c9749b8 + ed35282 commit 97e977f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ if [ -n "${INPUT_IMAGE}" ]; then
auth_opts=""
if [ -n "${INPUT_REGISTRYUSERNAME}" ] && [ -n "${INPUT_REGISTRYPASSWORD}" ]; then
auth_opts="--username=${INPUT_REGISTRYUSERNAME} --password=${INPUT_REGISTRYPASSWORD}"

# When trying to authenticate, we cannot assume that the runner has access
# to an *authenticated* container runtime daemon, so we should always try
# to pull images from the registry
image_arg="registry://${image_arg}"
else
echo "NOTICE: Received no registry credentials, pulling without authentication."
printf "Hint: If you provide credentials, make sure you include both the username and password.\n\n"
Expand Down

0 comments on commit 97e977f

Please sign in to comment.