mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
Merge branch 'main' of gitlab.com:developerdurp/yml
This commit is contained in:
commit
9a051c75bd
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
image: registry.durp.info/golang:1.20
|
||||
script:
|
||||
# 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
|
||||
artifacts:
|
||||
expire_in: 1 hour
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue