Skip to content

Upgrade from kubebuilder v4.0.0 to v4.1.0 #84

Upgrade from kubebuilder v4.0.0 to v4.1.0

Upgrade from kubebuilder v4.0.0 to v4.1.0 #84

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 }}