From 59b556153030da208c55a00f5d5d81e5546f13fc Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Thu, 31 Dec 2020 13:37:53 +0100 Subject: [PATCH] Update action.yml --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 7fb57037..b0edd80b 100644 --- a/action.yml +++ b/action.yml @@ -374,9 +374,10 @@ runs: # On forked actions, rebuild the docker image instead else echo "This is a forked version, rebuilding docker image from Dockerfile" - docker build -t metrics:forked . + docker build -t metrics:forked -f $METRICS_ACTION_PATH/Dockerfile . docker run metrics:forked fi shell: bash env: - METRICS_ACTION: ${{ github.action }} \ No newline at end of file + METRICS_ACTION: ${{ github.action }} + METRICS_ACTION_PATH: ${{ github.action_path }} \ No newline at end of file