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