mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/873892655
This commit is contained in:
parent
2870a4a7a5
commit
baf72cad7c
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
image: registry.durp.info/golang:1.20
|
image: registry.durp.info/golang:1.20
|
||||||
script:
|
script:
|
||||||
# Begin of golang-build-api.sh
|
# Begin of golang-build-api.sh
|
||||||
- "#Build golang api\nexport GOPATH=/go\nexport PATH=$PATH:$GOPATH/bin\nmkdir output\ngo install \ngo install github.com/swaggo/swag/cmd/swag@v1.8.12 \nswag init\ngo build -o ./output/main .\n"
|
- "#Build golang api\nexport GOPATH=/go\nexport PATH=$PATH:$GOPATH/bin\nmkdir output\ngo install \ngo install github.com/swaggo/swag/cmd/swag@v1.8.12 \nswag init\nCGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main .\n"
|
||||||
# End of golang-build-api.sh
|
# End of golang-build-api.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue