Skip to content

Commit

Permalink
Fix login to ghcr.io (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
unguiculus authored Dec 10, 2021
1 parent 5633178 commit 00896ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,17 @@ jobs:
run: |
mage -v test
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Release
run: |
echo "Building release ${{ github.event.inputs.version }}"
mage -v release
env:
GITHUB_TOKEN: "${{ secrets.CI_TOKEN }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ brews:
- tap:
owner: craftypath
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: craftypath-ci-bot
email: [email protected]
folder: Formula
homepage: https://github.com/craftypath/gotf/
description: Handling multiple environments with Terraform made easy
install: |
bin.install "gotf"
test: |
system "#{bin}/gotf --version"
dockers:
Expand Down

0 comments on commit 00896ad

Please sign in to comment.