Files
catalyst/.github/workflows/goreleaser.yml
dependabot[bot] 607f579deb build(deps): bump docker/login-action from 3 to 4
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-01 15:16:22 +00:00

41 lines
1010 B
YAML

name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
id-token: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with: { go-version: '1.25' }
- uses: oven-sh/setup-bun@v2
- run: make install-ui build-ui
- uses: docker/login-action@v4
with:
registry: ghcr.io
username: "securitybrewery"
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
run: |
docker run --rm --privileged \
-v `pwd`:/go/src/github.com/SecurityBrewery/catalyst \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/src/github.com/SecurityBrewery/catalyst \
-e CGO_ENABLED=1 \
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
ghcr.io/goreleaser/goreleaser-cross:v1.25.1 \
release --clean