Skip to content

Commit

Permalink
set goproxy env
Browse files Browse the repository at this point in the history
  • Loading branch information
movence committed Jan 30, 2025
1 parent a3db1f8 commit 130d8a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
ECR_TARGET_ALLOCATOR_STAGING_REPO: ${{ vars.ECR_TARGET_ALLOCATOR_STAGING_REPO }}
ECR_TARGET_ALLOCATOR_RELEASE_REPO: ${{ vars.ECR_TARGET_ALLOCATOR_RELEASE_REPO }}
PLATFORMS: linux/amd64,linux/arm64
GOPROXY: direct

on:
workflow_call:
Expand Down Expand Up @@ -89,7 +90,6 @@ jobs:

- name: Build Binaries
run: |
export GOPROXY=direct
go mod download
for platform in $(echo $PLATFORMS | tr "," "\n"); do
arch=${platform#*/}
Expand Down Expand Up @@ -148,7 +148,6 @@ jobs:

- name: Build Binaries
run: |
export GOPROXY=direct
go mod download
export GOARCH=arm64 && make targetallocator
export GOARCH=amd64 && make targetallocator
Expand Down

0 comments on commit 130d8a9

Please sign in to comment.