Skip to content

build(deps): Bump github.com/onsi/ginkgo/v2 from 2.30.0 to 2.31.0 #39

build(deps): Bump github.com/onsi/ginkgo/v2 from 2.30.0 to 2.31.0

build(deps): Bump github.com/onsi/ginkgo/v2 from 2.30.0 to 2.31.0 #39

name: Release
on:
push:
branches:
- master
workflow_dispatch:
inputs:
release-as:
description: 'Override the next release version (e.g. 3.8.0). Leave empty for automatic versioning from conventional commits.'
required: false
type: string
permissions:
contents: write
pull-requests: write
actions: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
release-as: ${{ inputs.release-as }}
- name: Checkout release tag
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ steps.release.outputs.tag_name }}
- name: Stamp image tag in setup.yaml
if: ${{ steps.release.outputs.release_created }}
run: |
sed -i \
's|ghcr.io/fluent/fluent-operator/fluent-operator:latest|ghcr.io/fluent/fluent-operator/fluent-operator:${{ steps.release.outputs.tag_name }}|g' \
manifests/setup/setup.yaml
- name: Upload setup.yaml to release
if: ${{ steps.release.outputs.release_created }}
run: gh release upload "${{ steps.release.outputs.tag_name }}" manifests/setup/setup.yaml --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger operator image build
if: ${{ steps.release.outputs.release_created }}
run: |
gh workflow run build-op-image.yaml \
--repo "${{ github.repository }}" \
--ref "${{ steps.release.outputs.tag_name }}" \
--field tag="${{ steps.release.outputs.tag_name }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}