Skip to content

Commit 4722345

Browse files
authoredDec 5, 2024··
ci: use tool-versions for updatecli (#294)
1 parent 159d25b commit 4722345

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
 

‎.github/workflows/updatecli.yml

+2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ jobs:
3838
- uses: elastic/oblt-actions/updatecli/run@v1
3939
with:
4040
command: --experimental compose diff
41+
version-file: .tool-versions
4142
env:
4243
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
4344

4445
- uses: elastic/oblt-actions/updatecli/run@v1
4546
with:
4647
command: --experimental compose apply
48+
version-file: .tool-versions
4749
env:
4850
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
4951

‎.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
updatecli v0.88.0

‎updatecli-compose.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ policies:
1111
values:
1212
- .ci/updatecli/values.d/scm.yml
1313
- .ci/updatecli/values.d/update-compose.yml
14+
- name: Update Updatecli version
15+
policy: ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:0.2.0@sha256:013a37ddcdb627c46e7cba6fb9d1d7bc144584fa9063843ae7ee0f6ef26b4bea
16+
values:
17+
- .ci/updatecli/values.d/scm.yml

0 commit comments

Comments
 (0)
Please sign in to comment.