Files
cicd/.drone.yml
aetos 77abe5b502
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update .drone.yml
2025-10-04 11:21:24 +00:00

32 lines
678 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
# Disable the built-in HTTPS clone, we'll do SSH manually
clone:
disable: true
steps:
- 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"
network_mode: host
extra_hosts:
- "gitea.aetoskia.com:192.168.1.111"
commands:
- ssh -v git@gitea.aetoskia.com
- echo "Cloning repository via SSH..."
- git clone git@gitea.aetoskia.com:apps/cicd.git
- name: test
image: alpine
commands:
- echo "pipeline running"