fix: cd dirname instead of failing regex
This commit is contained in:
parent
252b4fce46
commit
f7f53cb8af
@ -1,7 +1,7 @@
|
||||
#!/bin/sh -ex
|
||||
#shellcheck disable=SC1091
|
||||
|
||||
cd "./${INPUT_DOCKERFILE%/*}"
|
||||
cd "$(dirname "$INPUT_DOCKERFILE")"
|
||||
|
||||
[ -f .env ] && . ./.env
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user