Skip to content

Merge pull request #170 from mahbub570/health #4

Merge pull request #170 from mahbub570/health

Merge pull request #170 from mahbub570/health #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@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22.5"
cache: true
- name: Call Dagger Function
uses: dagger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: "latest"
verb: call
module: github.com/bishal7679/[email protected]
args: release --directory-arg=. --github-token=${{ env.GITHUB_TOKEN }}