Skip to content

chore(main): release 1.33.5 (#249) #356

chore(main): release 1.33.5 (#249)

chore(main): release 1.33.5 (#249) #356

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
packages: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
id: release
with:
include-component-in-tag: "false"
outputs:
release-created: ${{ steps.release.outputs.release_created }}
release-tag: ${{ steps.release.outputs.tag_name }}
release-version: ${{ steps.release.outputs.version }}
goreleaser:
needs:
- release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release-created == 'true' }}
outputs:
release-tag: ${{ needs.release-please.outputs.release-tag }}
release-version: ${{ needs.release-please.outputs.release-version }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
- name: Docker Login
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: "go.mod"
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24.15.0
cache: npm
cache-dependency-path: web/package-lock.json
- name: Build Web UI
run: |
npm ci --prefix web
npm run build --prefix web
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
helm:
needs:
- goreleaser
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Copy CHANGELOG.md
run: |
cp CHANGELOG.md helm/CHANGELOG.md
shell: bash
- name: Run chart-releaser
uses: bitdeps/helm-oci-charts-releaser@caedceea2a5ab997c7e5469a999811dbb3d5b070 # main
with:
oci_registry: ghcr.io/golgoth31/sreportal/charts
oci_username: username
oci_password: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}