[ci/artifacts] Fix docker context args (#170944)

I incorrectly removed this previously, not finding any arguments
missing. There was one - the `--release` flag, used to remove snapshot
from the filename.

https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/3472
~https://buildkite.com/elastic/kibana-artifacts-staging/builds/2337~
I'll verify on the backport, the failure here is expected.
This commit is contained in:
Jon 2023-11-09 15:16:35 -06:00 committed by GitHub
parent 3fae0b9d73
commit f92dbb76c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ KIBANA_DOCKER_CONTEXT="${KIBANA_DOCKER_CONTEXT:="default"}"
echo "--- Create contexts"
mkdir -p target
node scripts/build --skip-initialize --skip-generic-folders --skip-platform-folders --skip-archives --skip-cdn-assets --docker-context-use-local-artifact
node scripts/build --skip-initialize --skip-generic-folders --skip-platform-folders --skip-archives --skip-cdn-assets --docker-context-use-local-artifact "${BUILD_ARGS[@]}"
echo "--- Setup context"
DOCKER_BUILD_FOLDER=$(mktemp -d)