meta: add armv7 builder

This commit is contained in:
ptrcnull 2022-01-02 05:15:04 +01:00
parent f17ea2e46f
commit f02cfdf1ec

View file

@ -1,5 +1,6 @@
--- ---
kind: pipeline kind: pipeline
name: x86_64
steps: steps:
- name: build - name: build
@ -18,3 +19,24 @@ steps:
- echo "$key" > ~/.ssh/id_ed25519 - echo "$key" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519
- ssh -o StrictHostKeyChecking=no $username@$host ./build.sh - ssh -o StrictHostKeyChecking=no $username@$host ./build.sh
---
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