From 243a6e755bea206d74fa80837cbe99af8199a844 Mon Sep 17 00:00:00 2001 From: developerdurp Date: Sat, 25 Nov 2023 07:46:27 -0600 Subject: [PATCH] update --- templates/golang.tpl.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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