Skip to content

ci: Allow ref & build commit types to trigger release #19

ci: Allow ref & build commit types to trigger release

ci: Allow ref & build commit types to trigger release #19

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
branches:
- 'dev'
- 'main'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
version: ${{ steps.semrel.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23
- uses: go-semantic-release/action@v1
id: semrel
with:
hooks: goreleaser
custom-arguments: '--commit-analyzer-opt patch_release_rules=fix,ref,build'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: coolapso/youtube-exporter