Ensure that changing a file that triggers a stage that builds an image also triggers subsequent stages
For an example of an incomplete pipeline see https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/macstadium/orka/-/pipelines/189705958.
Use something like https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/ci/rules.gitlab-ci.yml