Skip to content

Merge pull request #56 from aris-bunnyshell/feat/component-variables #57

Merge pull request #56 from aris-bunnyshell/feat/component-variables

Merge pull request #56 from aris-bunnyshell/feat/component-variables #57

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@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}