diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2f44d5e..f018ee63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: if docker pull opensearchstaging/opensearch:$docker_version then - echo "FROM docker.opensearch.org/opensearch:$docker_version" >> Dockerfile + echo "FROM opensearchstaging/opensearch:$docker_version" >> Dockerfile echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-asynchronous-search ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-asynchronous-search; fi" >> Dockerfile echo "ADD asynchronous-search/build/distributions/opensearch-asynchronous-search-$plugin_version.zip /tmp/" >> Dockerfile echo "RUN /usr/share/opensearch/bin/opensearch-plugin install --batch file:/tmp/opensearch-asynchronous-search-$plugin_version.zip" >> Dockerfile diff --git a/build.gradle b/build.gradle index 2b3825d3..38528e59 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { isSnapshot = "true" == System.getProperty("build.snapshot", "true") opensearch_version = System.getProperty("opensearch.version", "2.0.0-alpha1-SNAPSHOT") opendistro_plugin_version = System.getProperty("bwc.version", "1.13.0.1") - buildVersionQualifier = System.getProperty("build.version_qualifier") + buildVersionQualifier = System.getProperty("build.version_qualifier", "alpha1") // 2.0.0-alpha1-SNAPSHOT -> 2.0.0.0-alpha1-SNAPSHOT version_tokens = opensearch_version.tokenize('-') opensearch_build = version_tokens[0] + '.0'