Update action.yml

This commit is contained in:
linguist
2020-12-31 13:37:53 +01:00
parent 2966d0e058
commit 59b5561530

View File

@@ -374,9 +374,10 @@ runs:
# On forked actions, rebuild the docker image instead # On forked actions, rebuild the docker image instead
else else
echo "This is a forked version, rebuilding docker image from Dockerfile" 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 docker run metrics:forked
fi fi
shell: bash shell: bash
env: env:
METRICS_ACTION: ${{ github.action }} METRICS_ACTION: ${{ github.action }}
METRICS_ACTION_PATH: ${{ github.action_path }}