fix: add GIT_SSL_NO_VERIFY for Cloudflare origin cert in CI
The runner containers don't trust the Cloudflare origin certificate for git.lethalbits.com, causing checkout to fail. Set GIT_SSL_NO_VERIFY and Go private module env vars at the workflow level for all workflows.
This commit is contained in:
@@ -4,6 +4,12 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
env:
|
||||||
|
GIT_SSL_NO_VERIFY: true
|
||||||
|
GOPRIVATE: git.lethalbits.com/*
|
||||||
|
GONOSUMCHECK: git.lethalbits.com/*
|
||||||
|
GOINSECURE: git.lethalbits.com/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-nightly:
|
publish-nightly:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags: ["*"]
|
tags: ["*"]
|
||||||
|
|
||||||
|
env:
|
||||||
|
GIT_SSL_NO_VERIFY: true
|
||||||
|
GOPRIVATE: git.lethalbits.com/*
|
||||||
|
GONOSUMCHECK: git.lethalbits.com/*
|
||||||
|
GOINSECURE: git.lethalbits.com/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
goreleaser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -3,6 +3,12 @@ name: check-and-test
|
|||||||
on:
|
on:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
|
env:
|
||||||
|
GIT_SSL_NO_VERIFY: true
|
||||||
|
GOPRIVATE: git.lethalbits.com/*
|
||||||
|
GONOSUMCHECK: git.lethalbits.com/*
|
||||||
|
GOINSECURE: git.lethalbits.com/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-and-test:
|
check-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user