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 ---