Only run image build jobs on main repo
What does this MR do?
Only run image build jobs on main repo
Why was this MR needed?
When a fork tries to run these jobs it leads to a failure becuase they don't have access to the container registry when the job tries to push the images. For example https://gitlab.com/steve.exley/gitlab-runner-ff2/pipelines/107997689
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased
What are the relevant issue numbers?
Closes #6261 (closed)