Skip to content

Commit

Permalink
chore: include temurin version pattern in updatecli/values.github-act…
Browse files Browse the repository at this point in the history
…ion.yaml (#829)
  • Loading branch information
lemeurherve committed Jun 23, 2024
1 parent d491a8b commit 3c4d2b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
uses: updatecli/updatecli-action@v2.61.0

- name: Run Updatecli in Dry Run mode
run: updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml --values ./updatecli/values.temurin.yaml
run: updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run Updatecli in Apply mode
if: github.ref == 'refs/heads/master'
run: updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml --values ./updatecli/values.temurin.yaml
run: updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions updatecli/values.github-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ github:
branch: "master"
owner: "jenkinsci"
repository: "docker-agent"
temurin:
version_pattern: "^jdk-[11|17|21].(\\d*).(\\d*).(\\d*)(.(\\d*))\\+(\\d*)?$"
2 changes: 0 additions & 2 deletions updatecli/values.temurin.yaml

This file was deleted.

0 comments on commit 3c4d2b1

Please sign in to comment.