Safely remove injector pods that never started (#928) #217
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '>=1.22.5' | |
- 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 }} |