File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 45
45
run : |
46
46
mage -v test
47
47
48
+ - name : Login to GitHub Container Registry
49
+ uses : docker/login-action@v1
50
+ with :
51
+ registry : ghcr.io
52
+ username : ${{ github.actor }}
53
+ password : ${{ secrets.GITHUB_TOKEN }}
54
+
48
55
- name : Release
49
56
run : |
50
57
echo "Building release ${{ github.event.inputs.version }}"
51
58
mage -v release
52
59
env :
53
- GITHUB_TOKEN : " ${{ secrets.CI_TOKEN }}"
60
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
+ HOMEBREW_TAP_GITHUB_TOKEN : ${{ secrets.CI_TOKEN }}
Original file line number Diff line number Diff line change @@ -33,12 +33,15 @@ brews:
33
33
- tap :
34
34
owner : craftypath
35
35
name : homebrew-tap
36
+ token : " {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
36
37
commit_author :
37
38
name : craftypath-ci-bot
38
39
email : craftypath-ci-bot@users.noreply.github.com
39
40
folder : Formula
40
41
homepage : https://github.com/craftypath/gotf/
41
42
description : Handling multiple environments with Terraform made easy
43
+ install : |
44
+ bin.install "gotf"
42
45
test : |
43
46
system "#{bin}/gotf --version"
44
47
dockers :
You can’t perform that action at this time.
0 commit comments