Update containers.build.yaml

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
Kjeld Schouten
2024-10-17 21:21:28 +02:00
committed by GitHub
parent a5e067bcd7
commit fec5a49dd2
-4
View File
@@ -45,10 +45,6 @@ jobs:
- id: reduce
run: |
CONTAINERS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?<filepath>/?containers/(?<first_directory>(?<root1>[/]?)[^/]+/)(?<second_directory>(?<root2>[/]?)[^/]+)(?<extra_paths>/[^/]+)*)"; "\(.second_directory)") | unique' changes.json)
if [ -z "$CONTAINERS" ]; then
echo "No containers found."
CONTAINERS="[]"
fi
echo ::set-output name=containers::${CONTAINERS}
hadolint: