Table of contents
You can create a generic environment integration by running the Docker Scout
CLI client in your CI workflows. The CLI client is available as a binary on
GitHub and as a container image on Docker Hub. Use the client to invoke the
docker scout environment command to assign your images to environments.
For more information about how to use the docker scout environment command,
refer to the
CLI reference.
Examples
Before you start, set the following environment variables in your CI system:
DOCKER_SCOUT_HUB_USER: your Docker Hub usernameDOCKER_SCOUT_HUB_PASSWORD: your Docker Hub personal access token
Make sure the variables are accessible to your project.
The following example uses the Docker executor.