Skip to content

Upgrade from kubebuilder v3.13.0 to v3.14.2 #77

Upgrade from kubebuilder v3.13.0 to v3.14.2

Upgrade from kubebuilder v3.13.0 to v3.14.2 #77

Workflow file for this run

name: release
on:
push:
tags:
- v*
pull_request:
paths:
- config/**
- .github/workflows/release.yaml
jobs:
manifest:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: kustomize edit set image controller='ghcr.io/${{ github.repository }}:${{ github.ref_name }}'
working-directory: config/manager
- run: kustomize build config/default > /tmp/google-cloud-pubsub-operator.yaml
- run: cat /tmp/google-cloud-pubsub-operator.yaml
- if: github.ref_type == 'tag'
run: gh release upload '${{ github.ref_name }}' /tmp/google-cloud-pubsub-operator.yaml --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}