Skip to content

Merge pull request #94 from Staffbase/dependabot/go_modules/github.co… #13

Merge pull request #94 from Staffbase/dependabot/go_modules/github.co…

Merge pull request #94 from Staffbase/dependabot/go_modules/github.co… #13

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[1-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Login to docker registry
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Release
uses: goreleaser/[email protected]
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set major and minor tags
uses: vweevers/additional-tags-action@v2