diff --git a/templates/golang.tpl.yml b/templates/golang.tpl.yml index dd61bfd..2ebcf34 100644 --- a/templates/golang.tpl.yml +++ b/templates/golang.tpl.yml @@ -1,7 +1,8 @@ .golang-build-api: variables: + GO-VERSION: 1.20 #GOPROXY: https://nexus.durp.info/repository/go/ - image: registry.durp.info/golang:1.20 + image: registry.durp.info/golang:${GO-VERSION} script: - ./scripts/golang-build-api.sh artifacts: @@ -12,8 +13,8 @@ .golang-lint: variables: #GOPROXY: https://nexus.durp.info/repository/go/ - GOLANGCI-LING-VERISON: v1.55.2 + GOLANGCI-LINT-VERISON: v1.55.2 CGO_ENABLED: 0 - image: registry.durp.info/golangci/golangci-lint:$GOLANGCI-LING-VERISON + image: registry.durp.info/golangci/golangci-lint:${GOLANGCI-LINT-VERISON} script: - ./scripts/golang-lint.sh