ci: Use git commands instead of checkout action
This commit is contained in:
@@ -10,7 +10,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
git config --global --add safe.directory '*'
|
||||
rm -rf * .git || true
|
||||
git clone --depth 1 $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git .
|
||||
|
||||
- name: Build Docker Image
|
||||
run: docker build -t bootstrap-auth-server:latest .
|
||||
|
||||
Reference in New Issue
Block a user