This commit is contained in:
30
.drone.yml
30
.drone.yml
@ -2,6 +2,8 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default-ssh-pipeline
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: greeting
|
||||
@ -14,19 +16,21 @@ steps:
|
||||
from_secret: docker_privkey
|
||||
port: 2200
|
||||
commands:
|
||||
- echo hello world
|
||||
- id
|
||||
- whoami
|
||||
- uname -a
|
||||
- docker ps -a
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test-secrets-pipeline
|
||||
# ---
|
||||
# kind: pipeline
|
||||
# type: docker
|
||||
# name: test-secrets-pipeline
|
||||
|
||||
steps:
|
||||
- name: test-secrets
|
||||
image: alpine
|
||||
environment:
|
||||
HOST:
|
||||
from_secret: docker_host
|
||||
commands:
|
||||
- env
|
||||
# steps:
|
||||
# - name: test-secrets
|
||||
# image: alpine
|
||||
# environment:
|
||||
# HOST:
|
||||
# from_secret: docker_host
|
||||
# commands:
|
||||
# - env
|
||||
|
Reference in New Issue
Block a user