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