Skip to content

Prepare release 0.1.1 (#169) #5

Prepare release 0.1.1 (#169)

Prepare release 0.1.1 (#169) #5

Workflow file for this run

# .github/workflows/release.yml
name: goreleaser
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup dependencies
uses: actions/setup-go@v2
- name: Login to Docker hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log tag name
run: echo "Build for tag ${{ github.ref_name }}"
- name: Create release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}