We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02bf08b commit 59546aeCopy full SHA for 59546ae
2 files changed
.github/workflows/go.yml
@@ -33,6 +33,8 @@ jobs:
33
go-version: ^1.20
34
35
- name: Build
36
+ env:
37
+ CF_API_KEY: ${{ secrets.CF_API_KEY }}
38
run: bash ./build.sh
39
40
- name: Upload Build Artifact
build.sh
@@ -3,5 +3,5 @@ set -e
3
git_hash=$(git rev-parse --short HEAD 2>/dev/null)
4
version="1.3.0-${git_hash}"
5
echo "Build: AutoInstall-${version}"
6
-go build -ldflags "-X main.gitversion=${version} -X github.com/autoinst/AutoInstall/pkg.cfapiKey=${{ secrets.CF_API_KEY }}" -o dist/$BUILD_NAME main.go
+go build -ldflags "-X main.gitversion=${version} -X github.com/autoinst/AutoInstall/pkg.cfapiKey=${CF_API_KEY}" -o dist/$BUILD_NAME main.go
7
ls dist
0 commit comments