This commit is contained in:
14
.drone.yml
14
.drone.yml
@ -1,16 +1,18 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
workspace:
|
||||
base: /srv/drone-demo
|
||||
path: .
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:alpine
|
||||
# pull: true
|
||||
environment:
|
||||
- KEY=VALUE
|
||||
secrets: [key1, key2]
|
||||
KEY: VALUE
|
||||
commands:
|
||||
- echo $$KEY
|
||||
- echo $KEY
|
||||
- pwd
|
||||
- ls
|
||||
- go build -o app .
|
||||
|
Reference in New Issue
Block a user