From bb5eb291ef057bdb934cf69a196d29879c96fa95 Mon Sep 17 00:00:00 2001 From: Usha Mandya Date: Wed, 23 Sep 2020 11:59:04 +0100 Subject: [PATCH] Add info on creating a service account for Pro accounts Signed-off-by: Usha Mandya --- docker-hub/repos.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-hub/repos.md b/docker-hub/repos.md index 4ff097eb65..b11f5af01f 100644 --- a/docker-hub/repos.md +++ b/docker-hub/repos.md @@ -183,7 +183,7 @@ bookmarking your favorites. A service account is a Docker ID used by a bot for automating the build pipeline for containerized applications. Service accounts are typically used in an automated workflow and do not share Docker IDs with the members in the Team plan. - To create a new service account: + To create a new service account for your Team account: 1. Create a new Docker ID. 2. Create a [team](orgs.md#create-a-team) in your organization and grant it read-only access to your private repositories. @@ -191,6 +191,14 @@ bookmarking your favorites. 4. Add the new Docker ID to the [team](orgs.md#add-a-member-to-a-team) you created earlier. 5. Create a new [personal access token (PAT)](/access-tokens.md) from the user account and use it for CI. +To create a new service account for your Pro account: + + 1. Create a new Docker ID. + 2. Click **Repositories** from the main menu. + 3. Select a repository from the list and go to the **Collaborators** tab. + 4. Add the new Docker ID as a collaborator. + 5. Create a new [personal access token (PAT)](/access-tokens.md) from the user account and use it for CI. + > **Note** > > If you want a read-only PAT just for your open source repos, or to access official images and other public images, you do not have to grant any access permissions to the new Docker ID.