Skip to content

Commit

Permalink
verify env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Aijeyomah committed Jan 16, 2025
1 parent 128bc1d commit 294a689
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ builds:
- env:
- CGO_ENABLED=0
- GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
- TEST_VAR=Hello
ldflags:
- -s -w
- -X main.providerToken={{.Env.PROVIDER_TOKEN}}
Expand Down Expand Up @@ -56,3 +57,9 @@ changelog:

release:
name_template: "Helm Kanvas Snapshot {{.Tag}}"

after:
hooks:
- echo "GoReleaser has successfully completed the build and release process!"
- echo "TEST_VAR value: {{ .Env.TEST_VAR }}"

0 comments on commit 294a689

Please sign in to comment.