mirror of
https://github.com/truecharts/charts.git
synced 2026-07-08 19:44:00 -03:00
adapt container build for new paths
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
||||
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
||||
- id: reduce
|
||||
run: |
|
||||
CONTAINERS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?<filepath>(?<first_directory>(?<root1>[/]?)[^/]+/)(?<second_directory>(?<root2>[/]?)[^/]+)(?<extra_paths>.+))"; "\(.second_directory)") | unique' changes.json)
|
||||
CONTAINERS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?<filepath>/containers/(?<first_directory>[^/]+/)(?<second_directory>[^/]+)(?<extra_paths>.*))"; "\(.second_directory)") | unique' changes.json)
|
||||
echo ::set-output name=containers::${CONTAINERS}
|
||||
|
||||
hadolint:
|
||||
Reference in New Issue
Block a user