File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ inputs:
2424 description : ' ko version (e.g. v0.18.0)'
2525 required : false
2626 default : ' v0.18.0'
27+ homebrew_deploy_key :
28+ description : ' SSH deploy key for pushing Homebrew formula'
29+ required : false
30+ default : ' '
2731
2832outputs :
2933 release_outcome :
5256 env :
5357 GITHUB_TOKEN : ${{ github.token }}
5458 GOFLAGS : -mod=vendor
59+ HOMEBREW_DEPLOY_KEY : ${{ inputs.homebrew_deploy_key }}
5560 # Repository paths are fully specified in .goreleaser.yaml kos.repositories
5661 run : |
5762 set -euo pipefail
Original file line number Diff line number Diff line change 8989 uses : ./.github/actions/go-build-release
9090 with :
9191 ko_version : ${{ steps.versions.outputs.ko }}
92+ homebrew_deploy_key : ${{ secrets.HOMEBREW_DEPLOY_KEY }}
9293
9394 - name : Malware Scan Release Binaries
9495 if : steps.release.outcome == 'success'
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ brews:
170170 git :
171171 url : " ssh://git@github.com/NVIDIA/homebrew-aicr.git"
172172 private_key : " {{ .Env.HOMEBREW_DEPLOY_KEY }}"
173+ skip_upload : " {{ if .Env.HOMEBREW_DEPLOY_KEY }}false{{ else }}true{{ end }}"
173174 commit_author :
174175 name : github-actions
175176 email : github-actions@github.com
You can’t perform that action at this time.
0 commit comments