40 lines
411 B
YAML
40 lines
411 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: docker
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: arm64
|
||
|
|
||
|
steps:
|
||
|
- name: greeting
|
||
|
image: alpine:latest
|
||
|
commands:
|
||
|
- echo hello
|
||
|
- echo world
|
||
|
|
||
|
---
|
||
|
|
||
|
kind: pipeline
|
||
|
type: ssh
|
||
|
name: ssh
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: arm64
|
||
|
|
||
|
server:
|
||
|
host:
|
||
|
from_secret: host
|
||
|
user:
|
||
|
from_secret: user
|
||
|
password:
|
||
|
from_secret: password
|
||
|
|
||
|
steps:
|
||
|
- name: greeting
|
||
|
commands:
|
||
|
- whoami
|
||
|
|
||
|
|