Skip to content

Commit

Permalink
try fixing werf CI 2
Browse files Browse the repository at this point in the history
  • Loading branch information
violog committed Jul 16, 2024
1 parent bad7643 commit 79777d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions werf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

---
Expand Down

0 comments on commit 79777d4

Please sign in to comment.