doc: Add doc for authenticated pull image

Add support for a new source credentials environment variable in the
test script
Add documentation of it into the how-to guide

Fixes #2653

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2021-09-16 11:55:31 +01:00
parent 40c406506b
commit 522b9e33c3
2 changed files with 7 additions and 2 deletions

View File

@@ -392,7 +392,7 @@ run_agent_ctl_command() {
}
agent_pull_image() {
run_agent_ctl_command "PullImage image=${PULL_IMAGE} cid=${CONTAINER_ID}"
run_agent_ctl_command "PullImage image=${PULL_IMAGE} cid=${CONTAINER_ID} source_creds=${SOURCE_CREDS}"
}