diff --git a/.github/workflows/modified-test.yml b/.github/workflows/modified-test.yml index 75f1569..3a4e663 100644 --- a/.github/workflows/modified-test.yml +++ b/.github/workflows/modified-test.yml @@ -14,6 +14,8 @@ jobs: - run: | for changed_file in ${{ steps.files.outputs.added_modified }}; do if [[ $changed_file == *"Dockerfile_"* ]]; then - echo "Do something with this ${changed_file}." + IFS="/" read -ra toolarr <<< "$changed_file" + IFS="_" read -ra tagarr <<< "$changed_file" + echo "Do something with ${toolarr[0]}, specifically ${tagarr[-1]}: ${changed_file}." fi done