Skip to content

Merge pull request #64 from bunnyshell/environ-groups #62

Merge pull request #64 from bunnyshell/environ-groups

Merge pull request #64 from bunnyshell/environ-groups #62

Workflow file for this run

name: Release on tag
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
steps:
-
name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}