Skip to content

Update the brew support. #25

Update the brew support.

Update the brew support. #25

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags: 'v*'
jobs:
release:
name: Upload releases
runs-on: ubuntu-latest
if: "!contains(github.ref, '-')" # skip prereleases
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_PERSONAL_AUTH_TOKEN: ${{ secrets.HOMEBREW_PERSONAL_AUTH_TOKEN }}
# - name: Docker push on master
# run: |
# # Build & publish on master
# echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u USERNAME --password-stdin
# TAG=${GITHUB_REF_NAME} make docker_push
# TAG=latest make docker_push