scout: Update instructions for the Scout ACR integration (#18972)

* Update instructions for the Scout ACR integration

* Update content/scout/integrations/registry/acr.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

---------

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
Pavel Grachev 2023-12-20 14:40:50 +01:00 committed by GitHub
parent d98a8afc17
commit 12ff723529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 27 deletions

View File

@ -75,48 +75,38 @@ the Azure resources.
Docker Scout Dashboard. Docker Scout Dashboard.
2. Select the **Analyze my images from another registry** filter option. 2. Select the **Analyze my images from another registry** filter option.
3. Find **Azure Container Registry** in the list, and select **Integrate**. 3. Find **Azure Container Registry** in the list, and select **Integrate**.
4. In the **How to integrate** section, enter a configuration name for this 4. In the **How to integrate** section, enter the **Registry hostname** of the
integration. Docker Scout uses this label as a display name for the registry you want to integrate.
integration.
5. Select **Next**. 5. Select **Next**.
6. Copy the webhook URL. 6. Select **Deploy to Azure** to open the template deployment wizard in Azure.
7. Select **Deploy to Azure** to open the template deployment wizard in Azure.
You may be prompted to sign in to your Azure account if you're not already You may be prompted to sign in to your Azure account if you're not already
signed in. signed in.
8. In the template wizard, configure your deployment: 7. In the template wizard, configure your deployment:
- **Resource group**: enter the same resource group as you're using for the - **Resource group**: enter the same resource group as you're using for the
container registry. The Docker Scout resources must be deployed to the container registry. The Docker Scout resources must be deployed to the
same resource group as the registry. same resource group as the registry.
- **Docker Scout Webhook**: paste the webhook you copied from Docker Scout - **Registry name**: the field is pre-filled with the subdomain of the
earlier. registry hostname.
- **Registry name**: enter the name of the ACR registry that you want to 8. Select **Review + create**, and then **Create** to deploy the template.
integrate. The registry name is the same as the subdomain of the registry
hostname.
9. Select **Review + create**, and then **Create** to deploy the template. 9. Wait until the deployment is complete.
10. In the **Deployment details** section click on the newly created resource
of the type **Container registry token**. Generate a new password for this token.
10. Wait until the deployment is complete. Alternatively, use the search function in Azure to navigate to the
11. Use the search function in Azure to navigate to the **Container registry** **Container registry** resource that you're looking to integrate, and
resource that you're looking to integrate. generate the new password for the created access token.
12. On the container registry page, select **Tokens** under **Registry 11. Copy the generated password and head back to the Docker Scout Dashboard to
permissions**.
13. Select the `docker-scout-readonly-token` and generate a new password for
this token.
14. Copy the generated password and head back to the Docker Scout Dashboard to
finalize the integration. finalize the integration.
15. Enter the **Registry hostname** and paste the generated password into the 12. Paste the generated password into the **Registry token** field.
**Registry token** field. 13. Select **Enable integration**.
16. Select **Enable integration**.
After selecting **Enable integration**, Docker Scout performs a connection test After selecting **Enable integration**, Docker Scout performs a connection test
to verify the integration. If the verification was successful, you're to verify the integration. If the verification was successful, you're