Skip to content

Commit

Permalink
Fix the reference to autobump config in steps (#12132)
Browse files Browse the repository at this point in the history
* Fix the reference to autobump config in steps

* Fix token location
  • Loading branch information
KacperMalachowski authored Oct 11, 2024
1 parent 8896ab9 commit 466289e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image-autobumper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
--autobump-config=${{ inputs.autobump-config-path }}

0 comments on commit 466289e

Please sign in to comment.