ci(docker): remove go build options

This commit is contained in:
fiftin 2024-06-01 15:30:37 +02:00
parent 66f7ea36e3
commit fdae86a9e2
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -60,7 +60,7 @@ tasks:
go build -o bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}
-tags "netgo"
-gcflags="all=-N -l"
-ldflags "-s -w -X {{ .IMPORT }}/util.Ver={{ .VERSION }} -X {{ .IMPORT }}/util.Commit={{ .SHA }} -X {{ .IMPORT }}/util.Date={{ .DATE }}" ./cli
-ldflags "-X {{ .IMPORT }}/util.Ver={{ .VERSION }} -X {{ .IMPORT }}/util.Commit={{ .SHA }} -X {{ .IMPORT }}/util.Date={{ .DATE }}" ./cli
vars:
TAG:
sh: git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || git rev-parse --abbrev-ref HEAD