Some checks reported errors
continuous-integration/drone/push Build encountered an error
31 lines
655 B
YAML
31 lines
655 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"
|
|
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"
|