17 lines
274 B
YAML
17 lines
274 B
YAML
workspace:
|
|
base: /srv/drone-demo
|
|
path: .
|
|
|
|
pipeline:
|
|
build:
|
|
image: golang:alpine
|
|
# pull: true
|
|
environment:
|
|
- KEY=VALUE
|
|
secrets: [key1, key2]
|
|
commands:
|
|
- echo $$KEY
|
|
- pwd
|
|
- ls
|
|
- go build -o app .
|
|
- ./app |