diff --git a/action.yaml b/action.yaml index 763ad98..8493f5d 100644 --- a/action.yaml +++ b/action.yaml @@ -7,6 +7,9 @@ inputs: default: ${{ gitea.repository_owner }} registry_password: description: Registry password + workdir: + description: Working directory where to the action from + default: . runs: using: composite diff --git a/entrypoint.sh b/entrypoint.sh index 1d3fc3e..30cbb7c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,8 @@ #!/bin/bash -e # shellcheck disable=SC1091 +cd "$INPUT_WORKDIR" + set -a . ./.env set +a