diff --git a/.buildkite/pipeline.elastic-agent-package.yml b/.buildkite/pipeline.elastic-agent-package.yml index 25c538f25f9..a93bd058091 100644 --- a/.buildkite/pipeline.elastic-agent-package.yml +++ b/.buildkite/pipeline.elastic-agent-package.yml @@ -126,6 +126,10 @@ steps: DRA_VERSION=$(buildkite-agent meta-data get DRA_VERSION --default "") export DRA_VERSION fi + if [[ -z "$${DRA_WORKFLOW}" ]]; then + DRA_WORKFLOW=$(buildkite-agent meta-data get DRA_WORKFLOW --default "") + export DRA_WORKFLOW + fi .buildkite/scripts/steps/dra-publish.sh - label: "Publishing via BK API for Independent Agent Release"