Commit aae69522 authored by Matija Čupić's avatar Matija Čupić

Merge branch 'Lukas-J-master-patch-76502' into 'master'

Enhance the Go CI-template

See merge request gitlab-org/gitlab!77994
parents d372b7c2 4336bc22
......@@ -35,7 +35,8 @@ format:
compile:
stage: build
script:
- go build -race -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/mybinary
- mkdir -p mybinaries
- go build -o mybinaries ./...
artifacts:
paths:
- mybinary
- mybinaries
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment