Use environment section instead of prefixing the command

This commit is contained in:
Tyler 2021-12-19 23:05:02 -05:00
parent f898b2fdb8
commit 0711e06023
1 changed files with 4 additions and 1 deletions

View File

@ -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: