Use environment section instead of prefixing the command
This commit is contained in:
parent
f898b2fdb8
commit
0711e06023
|
@ -11,7 +11,10 @@ steps:
|
|||
commands:
|
||||
- mkdir -p /build
|
||||
- go mod download
|
||||
- GOOS=linux,windows,darwin GOARCH=386,amd64,arm,arm64 goc -o /build/gogrok
|
||||
- goc -o /build/gogrok
|
||||
environment:
|
||||
- GOOS=linux,windows,darwin
|
||||
- GOARCH=386,amd64,arm,arm64
|
||||
- name: package
|
||||
image: tystuyfzand/fpm
|
||||
commands:
|
||||
|
|
Loading…
Reference in New Issue