From 8ae8ba9fae16ccdf60d44d3dc6885103b4acefa2 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Thu, 11 Aug 2022 11:51:03 +0300 Subject: [PATCH] tests: Add comment to make it more obvious what's happening --- test/cases/api/container.registry.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cases/api/container.registry.sh b/test/cases/api/container.registry.sh index 762fa40f6..0a6ce8760 100644 --- a/test/cases/api/container.registry.sh +++ b/test/cases/api/container.registry.sh @@ -26,6 +26,7 @@ function installClient() { sudo mkdir -p "${WORKER_CONFIG_DIR}" + # store credentials in authfile and use the file in subsequent calls, see below sudo "${CONTAINER_RUNTIME}" login --authfile "${AUTH_FILE_PATH}" --username "${CI_REGISTRY_USER}" --password "${CI_JOB_TOKEN}" "${CI_REGISTRY_IMAGE}" cat <