Update .drone.yml
This commit is contained in:
18
.drone.yml
18
.drone.yml
@@ -7,19 +7,21 @@ platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
# Optional: control clone step
|
||||
# Disable the built-in HTTPS clone, we'll do SSH manually
|
||||
clone:
|
||||
disable: false
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: drone/git
|
||||
# Uses built-in Drone authentication
|
||||
- name: clone-repo
|
||||
image: alpine/git
|
||||
environment:
|
||||
# Use the mounted SSH key
|
||||
GIT_SSH_COMMAND: "ssh -i /drone-ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
||||
commands:
|
||||
- echo "Cloning repository via SSH..."
|
||||
- git clone git@gitea.aetoskia.com:apps/cicd.git
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: alpine
|
||||
environment:
|
||||
GIT_SSL_NO_VERIFY: "true"
|
||||
commands:
|
||||
- echo "pipeline running"
|
||||
|
||||
Reference in New Issue
Block a user