Use git clone instead of actions/checkout
This commit is contained in:
@@ -16,12 +16,20 @@ jobs:
|
||||
image: docker:latest
|
||||
options: --privileged
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install git
|
||||
run: apk add --no-cache git
|
||||
|
||||
- name: Clone repo
|
||||
run: |
|
||||
git clone --depth 1 --branch kub-stage http://194.5.195.53:30080/admin/CMS.git .
|
||||
ls -la
|
||||
|
||||
- name: Start Docker daemon
|
||||
run: |
|
||||
dockerd &
|
||||
sleep 5
|
||||
for i in $(seq 1 30); do
|
||||
docker info >/dev/null 2>&1 && break || sleep 2
|
||||
done
|
||||
docker info
|
||||
|
||||
- name: Build Docker Image
|
||||
|
||||
Reference in New Issue
Block a user