adapt container build for new paths
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ jobs:
|
|||||||
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
||||||
- id: reduce
|
- id: reduce
|
||||||
run: |
|
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}
|
echo ::set-output name=containers::${CONTAINERS}
|
||||||
|
|
||||||
hadolint:
|
hadolint:
|
||||||
Reference in New Issue
Block a user