This commit changes the "build-image-release.yaml" such that runs for every pull request and commit to the main branch. This ensures the build is tested before the actual release.
The credentials to push to quay.io are only available in the release deployment environment. This commit therefore changes the workflow to only use that environment if the workflow was triggered for a v* git tag. The release environment also needs approval from a Hubble maintainer, so the risk of accidentally pushing a release from a development branch is rather low.
This commit changes the "build-image-release.yaml" such that runs for every pull request and commit to the
main
branch. This ensures the build is tested before the actual release.The credentials to push to quay.io are only available in the
release
deployment environment. This commit therefore changes the workflow to only use that environment if the workflow was triggered for av*
git tag. Therelease
environment also needs approval from a Hubble maintainer, so the risk of accidentally pushing a release from a development branch is rather low.