Skip to content

Merge pull request #207 from tylerauerbeck/fix-pull-request #4

Merge pull request #207 from tylerauerbeck/fix-pull-request

Merge pull request #207 from tylerauerbeck/fix-pull-request #4

name: Dagger Release Pipeline
on:
push:
tags:
- "v*"
branches: [main]
permissions:
contents: write
packages: write
jobs:
publish-release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.5"
cache: true
- name: Call Dagger Function
uses: dagger/dagger-for-github@v6.13.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: "latest"
verb: call
args: release --source=. --github-token=${{ env.GITHUB_TOKEN }}