Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Define the following inputs in your workflow to configure the ShiftLeft actions:
- `docker_image` (required): The Docker image to scan, which should reside on the same runner.
- `docker_user` (optional): Username for authenticating to the Docker registry.
- `docker_password` (optional): Password for authenticating to the Docker registry.
- `docker_config_path` (optional): Path to the docker config directory to authenticate to the Docker registry.
- `pull_image` (optional): Boolean flag to determine if the image should be pulled. Set to false if the image is available locally. Default is true.
- `oci_client` (optional): Which client should be used to pull the image. The default `docker` will use the docker daemon. Other options include `podman` and `skopeo`. Note that the binary must be installed and available on the path.
- `output_json` (optional): path to output JSON results to
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ inputs:
docker_password:
description: Password to authenticate to the Docker registry
required: false
docker_config_path:
description: Path to the docker config directory to authenticate to the Docker registry
required: false
pull_image:
description: Attempt to pull the image. Set to false if image is available locally
default: true
Expand Down Expand Up @@ -167,6 +170,7 @@ runs:
--repository ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} \
--docker-user="${{ inputs.docker_user }}" \
--docker-password="${{ inputs.docker_password }}" \
--docker-config-path="${{ inputs.docker_config_path }}" \
--debug=${{ inputs.debug }} \
--additional-registries="${{ inputs.additional_registries}}" \
--docker-pull=${{ inputs.pull_image }} \
Expand Down
Loading