Files
jobs-manager-operator/.github/workflows/release.yaml
T
lukaszraczylo 15e71cffce fix(ci): require Go 1.26 instead of 1.27
The go directive moved to 1.27.0 during the dependency update. No dependency needs more than Go 1.26, and the CI runner has Go 1.25. Set the go directive, workflows and Dockerfile to 1.26.
2026-10-02 04:03:22 +01:00

53 lines
1.3 KiB
YAML

name: Release
on:
workflow_dispatch:
push:
paths-ignore:
- "**.md"
- "docs/**"
- "config/samples/**"
branches:
- main
permissions:
id-token: write
contents: write
packages: write
deployments: write
jobs:
release:
uses: lukaszraczylo/shared-actions/.github/workflows/go-release.yaml@main
with:
go-version: "1.26"
docker-enabled: true
secrets: inherit
publish-helm-chart:
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get release version
id: version
run: |
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
VERSION=${VERSION#v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Trigger helm-charts release
env:
GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
run: |
gh api repos/lukaszraczylo/helm-charts/dispatches \
-f event_type=release-chart \
-f client_payload[chart_name]=jobs-manager \
-f client_payload[version]=${{ steps.version.outputs.version }} \
-f client_payload[source_repo]=lukaszraczylo/jobs-manager-operator \
-f client_payload[chart_path]=charts/jobs-manager-operator