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 }}