This commit is contained in:
2024-05-05 10:05:11 -05:00
parent 722d963839
commit 52116ff6c9
6 changed files with 97 additions and 135 deletions

17
pipelines/go-build.yml Normal file
View File

@@ -0,0 +1,17 @@
include:
- template: Security/Secret-Detection.gitlab-ci.yml
- project: 'developerdurp/yml'
ref: 'main'
file:
- 'jobs/golang.yml'
gobuild:
variables:
GOPROXY: https://nexus.durp.info/repository/go/
extends: .golang-build
stage: build
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
exists:
- "go.mod"