mirror of https://github.com/on4kjm/FLEcli.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
756 B
26 lines
756 B
name: Release with goreleaser
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*.*.*
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: goreleaser
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Login to DockerHub Registry
|
|
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
|
- name: Unshallow Fetch
|
|
run: git fetch --prune --unshallow
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '^1.19.5'
|
|
- name: Release via goreleaser
|
|
uses: goreleaser/goreleaser-action@v4
|
|
with:
|
|
distribution: goreleaser
|
|
args: release --release-notes=doc/whats_new.md
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
HOMEBREW: ${{ secrets.HOMEBREW }} |