Browse Source

perf: checkout repo

pull/14175/head
ibuler 2 months ago committed by 老广
parent
commit
755a124b50
  1. 3
      .github/workflows/build-base-image.yml

3
.github/workflows/build-base-image.yml

@ -25,6 +25,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@ -62,7 +64,6 @@ jobs:
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b ${{ github.event.pull_request.head.ref }}
git add Dockerfile
git commit -m "perf: Update Dockerfile with new base image tag"
git push origin ${{ github.event.pull_request.head.ref }}

Loading…
Cancel
Save