Update containers.build.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
@@ -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>containers/(?<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>(?<root1>[/]?)[^/]+/)(?<second_directory>(?<root2>[/]?)[^/]+)(?<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