From 79777d40ea519029c2a2d46f85442b9e08779db8 Mon Sep 17 00:00:00 2001 From: violog <51th.apprent1ce.f0rce@gmail.com> Date: Tue, 16 Jul 2024 18:33:45 +0300 Subject: [PATCH] try fixing werf CI 2 --- werf.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/werf.yaml b/werf.yaml index 1fc57d8..0dc24e8 100644 --- a/werf.yaml +++ b/werf.yaml @@ -15,19 +15,19 @@ git: setup: - "**/*" shell: - beforeInstall: - - apk add git build-base install: - - git config --global url."https://gitlab-ci-token:{{ env "CI_JOB_TOKEN" }}@gitlab.com/".insteadOf https://gitlab.com/ - - git config --global url."https://{{ env "CI_JOB_TOKEN" }}@github.com/".insteadOf https://github.com/ - - go env -w GOPRIVATE=github.com/*,gitlab.com/* - setup: + - apk add git build-base - export CGO_ENABLED=1 - export GO111MODULE=on - export GOOS=linux - cd /go/src/github.com/rarimo/galxe-svc - go mod tidy - go mod vendor + setup: + - export CGO_ENABLED=1 + - export GO111MODULE=on + - export GOOS=linux + - cd /go/src/github.com/rarimo/galxe-svc - go build -o /usr/local/bin/galxe-svc /go/src/github.com/rarimo/galxe-svc ---