Skip to content

Commit

Permalink
Update containers.build.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kjeld Schouten <[email protected]>
  • Loading branch information
PrivatePuffin authored Oct 8, 2024
1 parent e3a07d5 commit 95420c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/containers.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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>/containers/(?<first_directory>[^/]+/)(?<second_directory>[^/]+)(?<extra_paths>.*))"; "\(.second_directory)") | unique' changes.json)
CONTAINERS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?<filepath>/containers/(?<first_directory>[^/]+/)(?<second_directory>[^/]+)(/[^/]+)*)"; "\(.second_directory)") | unique' changes.json)
echo ::set-output name=containers::${CONTAINERS}
hadolint:
Expand Down

0 comments on commit 95420c9

Please sign in to comment.