fix(ci): use correct shell for docker update sync/bump
This commit is contained in:
5
.github/workflows/renovate-bump.yaml
vendored
5
.github/workflows/renovate-bump.yaml
vendored
@@ -41,7 +41,9 @@ jobs:
|
||||
- 'charts/games/**'
|
||||
- name: Filter filter-output
|
||||
run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
||||
- name: Bump
|
||||
|
||||
- name: Bump and Sync
|
||||
shell: bash
|
||||
run: |
|
||||
# Designed to ensure the appversion in Chart.yaml is in sync with the primary Chart tag if found
|
||||
# Also makes sure that home link is pointing to the correct url
|
||||
@@ -87,7 +89,6 @@ jobs:
|
||||
}
|
||||
export -f sync_tag
|
||||
|
||||
|
||||
# The actual script
|
||||
APPS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?<filepath>(?<first_directory>(?<root1>[\/]?)[^\/]+\/)(?<second_directory>(?<root2>[\/]?)[^\/]+\/)(?<third_directory>(?<root3>[\/]?)[^\/]+)(?<extra_paths>.+))"; "\(.third_directory)") | unique' changes.json | jq -r '.[]')
|
||||
echo "changed apps: ${APPS[*]}"
|
||||
|
||||
Reference in New Issue
Block a user