Skip to content

Commit

Permalink
Add git config
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Jul 31, 2024
1 parent 618d245 commit 4cd7b02
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: mvn test
env:
_JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
run: ./mvnw -V --no-transfer-progress test
run: echo ./mvnw -V --no-transfer-progress test
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -130,6 +130,10 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- name: git config
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Ensure images branch exists
run: |
if ! git ls-remote --exit-code --heads origin images; then
Expand All @@ -145,12 +149,8 @@ jobs:
with:
name: image
path: .
- name: Copy digest file to repository
run: |
- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "Add Docker image digest for ${GITHUB_SHA}"
git push origin images
Expand Down

0 comments on commit 4cd7b02

Please sign in to comment.