Skip to content

Commit

Permalink
chore(workflows): Bump goreleaser to 1.21 through kraftkit
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
  • Loading branch information
craciunoiuc committed Dec 12, 2023
1 parent 321f43d commit d8336b7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
goreleaser:
runs-on: ubuntu-latest
container: kraftkit.sh/myself-full:latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -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 }}

0 comments on commit d8336b7

Please sign in to comment.