[ci/on-merge] Trigger container image build (#148864)

This conditionally adds a pipeline trigger to
`kibana-artifacts-container-image` at the end of the on-merge pipeline
when tests are passing. The triggered pipeline will build (and
eventually push) our default docker images.

Tests passing -> image build:
https://buildkite.com/elastic/kibana-on-merge/builds/25854
Tests failing -> no image build:
https://buildkite.com/elastic/kibana-on-merge/builds/25849
This commit is contained in:
Jon 2023-01-19 16:43:01 -06:00 committed by GitHub
parent ff3d413a6e
commit 8dff4b1881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,3 +149,12 @@ steps:
timeout_in_minutes: 10
agents:
queue: kibana-default
- wait
- trigger: kibana-artifacts-container-image
label: Trigger container image build
async: true
build:
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"