This commit is contained in:
@ -2,18 +2,9 @@ kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
workspace:
|
||||
base: /srv/drone-demo
|
||||
path: .
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:alpine
|
||||
environment:
|
||||
KEY: VALUE
|
||||
commands:
|
||||
- echo $KEY
|
||||
- pwd
|
||||
- ls
|
||||
- go build -o app .
|
||||
- ./app
|
Reference in New Issue
Block a user