diff --git a/.github/workflows/image-autobumper.yml b/.github/workflows/image-autobumper.yml index 17230c7dac7a..c8d1bc1a88e7 100644 --- a/.github/workflows/image-autobumper.yml +++ b/.github/workflows/image-autobumper.yml @@ -45,8 +45,8 @@ jobs: # see https://stackoverflow.com/a/69979203/23148781 - name: Setup git config run: | - GIT_USERNAME=$(grep "gitName" ${{ env.AUTOBUMP_CONFIG_PATH }} | cut -d '"' -f 2) - GIT_EMAIL=$(grep "gitEmail" ${{ env.AUTOBUMP_CONFIG_PATH }} | cut -d '"' -f 2) + GIT_USERNAME=$(grep "gitName" ${{ inputs.autobump-config-path }} | cut -d '"' -f 2) + GIT_EMAIL=$(grep "gitEmail" ${{ inputs.autobump-config-path }} | cut -d '"' -f 2) git config user.name $GIT_USERNAME git config user.email $GIT_EMAIL @@ -59,7 +59,7 @@ jobs: --cap-drop=ALL \ --privileged \ -v "${{ github.workspace }}:/workspace" \ - -v "~/token:/tmp/github_token:ro" \ + -v "~/token:/etc/github/token:ro" \ -w /workspace \ ${{ inputs.docker-image }} \ - --autobump-config=${{ env.AUTOBUMP_CONFIG_PATH }} \ No newline at end of file + --autobump-config=${{ inputs.autobump-config-path }} \ No newline at end of file