[Chore] Fix upgrade test to work for minor versions without operator,… #864
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Publish operator" | |
| permissions: {} | |
| on: | |
| push: | |
| branches: [main] | |
| # will run only on main, for tag branches we run it as part of the release process. | |
| tags-ignore: ["v*"] | |
| workflow_dispatch: | |
| jobs: | |
| publish-images: | |
| uses: ./.github/workflows/reusable-publish-images.yaml | |
| permissions: | |
| packages: write # push container image | |
| with: | |
| publish_bundle: false | |
| version_tag: ${{ github.ref }} | |
| push: ${{ github.event_name != 'pull_request' }} |