We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e37038 commit 10c7f89Copy full SHA for 10c7f89
.github/workflows/docker.yml
@@ -4,6 +4,15 @@ on:
4
release:
5
types: [published]
6
workflow_dispatch:
7
+ inputs:
8
+ opensearch-version:
9
+ description: 'OpenSearch Version to use'
10
+ required: true
11
+ default: 2.2.1
12
+ ltrversion:
13
+ description: 'LTR Plugin Version'
14
15
+ default: 2.0.0
16
17
18
jobs:
@@ -26,7 +35,9 @@ jobs:
26
35
with:
27
36
file: docker/Dockerfile
28
37
# TODO: fix this so it isn't hardcoded
29
- build-args: opensearch_version=2.2.1 ltrversion=2.0.0
38
+ build-args: |
39
+ opensearch_version=${{inputs.opensearch-version}}
40
+ ltrversion=${{ltrversion}}
30
41
push: true
31
42
tags: gsingers/opensearch-learning-to-rank
32
43
github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments