ci-includes-yml/templates/golang.tpl.yml
Durp e50d42d982 Update 10 files
- /pipelines/terraform.yml
- /templates/codescan.tpl.yml
- /templates/docker.tpl.yml
- /templates/gitlab.tpl.yml
- /templates/golang.tpl.yml
- /templates/helm.tpl.yml
- /templates/nuget.tpl.yml
- /templates/octopus.tpl.yml
- /templates/sonarqube.tpl.yml
- /templates/version.tpl.yml
2026-02-27 11:39:38 +00:00

18 lines
466 B
YAML

.golang-build:
variables:
#GOPROXY: https://nexus.durp.info/repository/go/
image: registry.durp.info/golang:${GO_VERSION}
script:
- ./scripts/golang-build.sh
artifacts:
expire_in: 1 hour
paths:
- $CI_PROJECT_DIR/output
.golang-lint:
variables:
#GOPROXY: https://nexus.durp.info/repository/go/
CGO_ENABLED: 0
image: registry.durp.info/golangci/golangci-lint:${GOLANGCI_LINT_VERISON}
script:
- ./scripts/golang-lint.sh