JOJ3/.gitea/workflows/build-image.yaml
张泊明518370910136 4b4c83a609
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m11s
ci: remove checkout
2024-09-26 02:20:34 -04:00

26 lines
866 B
YAML

---
name: build-image
on:
push:
branches:
- master
jobs:
create-empty-commit:
container:
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
volumes:
- /home/actions/.ssh:/root/.ssh
steps:
- name: Set up Git
run: |
git config --global user.name "gitea-actions[bot]"
git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com"
chown -R root:root /root/.ssh
- name: Clone, Commit and Push
run: |
git clone ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/runner-images.git runner-images
cd runner-images
git commit --allow-empty -m "chore: trigger gitea actions by JOJ3"
git push