diff --git a/.buildkite/scripts/steps/es_snapshots/promote.sh b/.buildkite/scripts/steps/es_snapshots/promote.sh index cf52f5e9ff650..2b85505619a95 100755 --- a/.buildkite/scripts/steps/es_snapshots/promote.sh +++ b/.buildkite/scripts/steps/es_snapshots/promote.sh @@ -17,3 +17,14 @@ if [[ "$BUILDKITE_BRANCH" == "main" ]]; then echo "--- Trigger agent packer cache pipeline" ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-agent-packer-cache main fi + +cat << EOF | buildkite-agent pipeline upload +steps: + - label: "Update cache for ES $BUILDKITE_BRANCH snapshot" + trigger: kibana-vm-images + async: true + build: + env: + IMAGES_CONFIG: "kibana/images.yml" + RETRY: "1" +EOF