Skip to content

Commit

Permalink
Map GITHUB_TOKEN to the environment
Browse files Browse the repository at this point in the history
Signed-off-by: Eti Ijeoma <[email protected]>
  • Loading branch information
Aijeyomah committed Jan 16, 2025
1 parent a7e3721 commit 128bc1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ before:
builds:
- env:
- CGO_ENABLED=0
- GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
ldflags:
- -s -w
- -X main.providerToken={{.Env.PROVIDER_TOKEN}}
- -X main.mesheryCloudAPIBaseURL=https://cloud.layer5.io
- -X main.mesheryAPIBaseURL=https://playground.meshery.io
- -X main.workflowAccessToken=${{ secrets.GITHUB_TOKEN }}
- -X main.workflowAccessToken=${{ .Env.GITHUB_TOKEN }}
goos:
- linux
- darwin
Expand Down

0 comments on commit 128bc1d

Please sign in to comment.