From d8336b7a62930ecdadf8aae7cd7e9bbe7acd94c7 Mon Sep 17 00:00:00 2001 From: Cezar Craciunoiu Date: Tue, 12 Dec 2023 17:40:55 +0200 Subject: [PATCH] chore(workflows): Bump goreleaser to 1.21 through kraftkit Signed-off-by: Cezar Craciunoiu --- .github/workflows/release.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ff876ae..be0f114 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,7 @@ permissions: jobs: goreleaser: runs-on: ubuntu-latest + container: kraftkit.sh/myself-full:latest steps: - name: Checkout uses: actions/checkout@v4 @@ -20,14 +21,15 @@ jobs: - name: Fetch all tags run: | - git config --global --add safe.directory /__w/kraftkit/kraftkit + git config --global --add safe.directory /__w/governance/governance git fetch --force --tags - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --rm-dist --skip-validate --clean + run: | + goreleaser release \ + --config .goreleaser.yml \ + --clean \ + --rm-dist \ + --skip-validate env: GITHUB_TOKEN: ${{ secrets.GH_PAT }}