Skip to content

Commit

Permalink
Add user and email
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Nov 5, 2024
1 parent 3f8f633 commit e0669ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/push_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
PR_NUMBER: ${{ github.event.number }}
REPOSITORY: dodona-edu/docker-images
TOKEN: ${{ secrets.PUSH_TO_DOCKER_IMAGES_ACCESS_TOKEN }}
USER_EMAIL:
USER: dodona-server
EMAIL: [email protected]
run: |
FOLDER="docker-images"
BRANCH_NAME="update-dodona-tested-$PR_NUMBER"
Expand All @@ -44,8 +45,6 @@ jobs:
gh auth setup-git
# Setup the committers email and username, required until https://github.com/cli/cli/issues/6096 is resolved
USER=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /user | jq -r .login)
EMAIL=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /user/emails | jq -r ".[1].email")
git config --global user.name "$USER"
git config --global user.email "$EMAIL"
Expand Down

0 comments on commit e0669ce

Please sign in to comment.