Skip to content

Update goreleaser github action (#879) #205

Update goreleaser github action (#879)

Update goreleaser github action (#879) #205

Workflow file for this run

name: release
on:
push:
tags:
- "*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.22.x
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.6.3
- name: Generate install manifest
run: >
helm template ./chart/
--set global.oci.registry=datadog --set global.chaos.defaultImage.tag=${GITHUB_REF_NAME}
> ./chart/install.yaml
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --skip=sign
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}