Skip to content

Merge pull request #17 from YutaroHayakawa/renovate/go-1.x #10

Merge pull request #17 from YutaroHayakawa/renovate/go-1.x

Merge pull request #17 from YutaroHayakawa/renovate/go-1.x #10

Workflow file for this run

name: goreleaser
on:
push:
# Run when we push the tag
tags:
- "*"
permissions: write-all
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: yutarohayakawa
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}