This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/.drone.yml

43 lines
921 B
YAML
Raw Normal View History

2021-12-02 23:09:58 +00:00
---
kind: pipeline
2022-01-02 04:15:04 +00:00
name: x86_64
2021-12-02 23:09:58 +00:00
steps:
- name: build
image: alpine
environment:
host:
from_secret: ssh_host
username:
from_secret: ssh_username
key:
from_secret: ssh_private_key
port: 22
commands:
- apk add -q openssh-client
- mkdir ~/.ssh
- echo "$key" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- ssh -o StrictHostKeyChecking=no $username@$host ./build.sh
2022-01-02 04:15:04 +00:00
---
kind: pipeline
name: armv7
steps:
- name: build
image: alpine
environment:
host:
from_secret: ssh_host
username:
from_secret: ssh_username
key:
from_secret: ssh_private_key
port: 22
commands:
- apk add -q openssh-client
- mkdir ~/.ssh
- echo "$key" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- ssh -o StrictHostKeyChecking=no $username@$host ./build.sh armv7