hashicorp/Go Build

Define a reproducible build. Currently only supports Go builds.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
product_nameUsed to calculate default `bin_name` and `zip_name`. Defaults to repository name. no
product_versionFull version of the product being built (including metadata). no
product_version_metaThe metadata field of the version. no
go_versionVersion of Go to use for this build.yes
osTarget product operating system. yes
archTarget product architecture. yes
reproducibleAssert that this build is reproducible. Options are `assert` (the default), `report`, or `nope`. noassert
bin_nameName of the product binary generated. Defaults to `product_name` minus any `-enterprise` suffix. no
zip_nameName of the product zip file. Defaults to `<product_name>_<product_version>_<os>_<arch>.zip`. no
work_dirThe working directory, to run the instructions in. Defaults to the current directory. no.
instructionsBuild instructions to generate the binary. See [Build Instructions](#build-instructions) for more info. yes
debugEnable debug-level logging. no0
cleanBuild with the clean flag. notrue
namedescription
zip_nameName of the built zip file.
target_dirName of the directory where an artifact can be assembled