bump: version 0.8.0-a3 → 0.8.0 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/release.yml | |
name: Make Release on Tag Push | |
on: | |
push: | |
tags: | |
- '*.*.*' # Simple semantic version v1.2.3 | |
jobs: | |
release: | |
name: Publish Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Go configuration | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
- name: Docker Login | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
version: latest | |
distribution: goreleaser | |
workdir: . | |
install-only: false | |
args: release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |