1
0
Fork 0
mirror of https://github.com/on4kjm/FLEcli.git synced 2025-02-08 00:42:45 +01:00
FLEcli/.github/workflows/release.yml

24 lines
685 B
YAML
Raw Normal View History

2020-07-23 13:23:35 +02:00
name: Release with goreleaser
on:
push:
tags:
- v*.*.*
jobs:
build:
runs-on: ubuntu-latest
name: goreleaser
steps:
- uses: actions/checkout@v2
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
2020-07-23 13:23:35 +02:00
- name: Unshallow Fetch
run: git fetch --prune --unshallow
- uses: actions/setup-go@v2
with:
go-version: '^1.17.2'
2020-07-23 13:23:35 +02:00
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@master
with:
2020-08-11 12:40:31 +02:00
args: release --release-notes=doc/whats_new.md
2020-07-23 13:23:35 +02:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}