Skip to content

Commit

Permalink
Fix shell substitution (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek authored Apr 5, 2022
1 parent 29df45d commit d3cb1fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ runs:
if [ ${{ inputs.dockerfile }} == Dockerfile ]; then
suffix='centos7'
else
suffix=${inputs.dockerfile##*.}
df="${{ inputs.dockerfile }}"
suffix=${df##*.}
fi
echo "::set-output name=suffix::$suffix"
Expand Down

0 comments on commit d3cb1fe

Please sign in to comment.