Title here
Summary here
run go build and export outputs as artifacts
include:
- component: gitlab.com/release-process/golang/go-build@0.1.0| Name | Description | Default |
|---|---|---|
| args | additional arguments to pass to the go build command | ./... |
| dir | the directory to build | . |
| name | The name of the job application | golang:go-build |
| output | the output file/folder | out/ |
| stage | stage of the job | build |
| version | go version to use for building | 1.22 |
| Name | Description | Default |
|---|---|---|
| CGO_ENABLED | wether to use cgo or not | 0 |
| GOARCH | target architecture (empty means same as build platform) | "" |
| GOOS | target operating system (empty means same as build platform) | "" |
| OUTPUT | output file/folder | $[[ inputs.output ]] |
${OUTPUT}Expires in: 1 week.