From 0e77c56738a559900f37b8f37e1ec02e43239d36 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 1 Jul 2024 12:19:54 +0200 Subject: [PATCH] ci(buildkite): use shared secrets (#13526) --- .buildkite/hooks/pre-command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 4d7c6f00861..d3c2f7d0933 100755 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -66,7 +66,7 @@ get_os_details() { if command -v docker &>/dev/null; then echo "--- Prepare Elastic docker context :docker:" - DOCKER_REGISTRY_SECRET_PATH="secret/ci/elastic-apm-server/docker-elastic-observability" + DOCKER_REGISTRY_SECRET_PATH="kv/ci-shared/observability-ci/docker-elastic-observability" DOCKER_USERNAME_SECRET=$(retry 5 vault kv get -field username "${DOCKER_REGISTRY_SECRET_PATH}") DOCKER_PASSWORD_SECRET=$(retry 5 vault kv get -field password "${DOCKER_REGISTRY_SECRET_PATH}") DOCKER_REGISTRY_SECRET=$(retry 5 vault kv get -field registry "${DOCKER_REGISTRY_SECRET_PATH}")