fix(ci): use correct shell for docker update sync/bump
This commit is contained in:
@@ -41,7 +41,9 @@ jobs:
|
|||||||
- 'charts/games/**'
|
- 'charts/games/**'
|
||||||
- name: Filter filter-output
|
- name: Filter filter-output
|
||||||
run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
||||||
- name: Bump
|
|
||||||
|
- name: Bump and Sync
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# Designed to ensure the appversion in Chart.yaml is in sync with the primary Chart tag if found
|
# 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
|
# Also makes sure that home link is pointing to the correct url
|
||||||
@@ -87,7 +89,6 @@ jobs:
|
|||||||
}
|
}
|
||||||
export -f sync_tag
|
export -f sync_tag
|
||||||
|
|
||||||
|
|
||||||
# The actual script
|
# 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 '.[]')
|
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[*]}"
|
echo "changed apps: ${APPS[*]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user