diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ced74fdc2c..7b403bdd79 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -335,6 +335,7 @@ jobs: if: matrix.goos != 'windows' env: GOPRIVATE: "" + GOPROXY: direct run: | set -x VAULT_VERSION="${{ steps.vault.outputs.version }}" @@ -353,6 +354,7 @@ jobs: shell: pwsh env: GOPRIVATE: "" + GOPROXY: direct run: | $vaultVersion = "${{ steps.vault-win.outputs.version }}" Write-Host "Building with vault $vaultVersion" @@ -567,7 +569,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') && needs.lint.result == 'success' && needs.create-release.result == 'success' env: CGO_ENABLED: 1 - GOPROXY: https://proxy.golang.org,direct + GOPROXY: direct GOPRIVATE: git.marketally.com GONOSUMDB: git.marketally.com steps: @@ -603,6 +605,7 @@ jobs: - name: Update vault dependency env: GOPRIVATE: "" + GOPROXY: direct run: | set -x VAULT_VERSION="${{ steps.vault.outputs.version }}"