Skip to content

fix: use version 0.3.2 instead #53

fix: use version 0.3.2 instead

fix: use version 0.3.2 instead #53

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run GoReleaser [Main]
uses: goreleaser/[email protected]
with:
distribution: goreleaser
version: latest
args: -f .goreleaser.yml --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}