DataFed
DataFed copied to clipboard
[Bug,CI] - Docker image builds not detecting changes on relabel
Description
Assuming we have an image with commit 1.
In an attempt to prevent building images over the CI pipelines are currently set to avoid building an image if there are no changes to the relevant files in the current commit (commit 2), however, this causes problems if there is an error during the pipeline that should trigger a rebuild for (commit 2).
If a second pipeline with a new commit is used (for commit 3) that does not change those files, it will skip over the build and simply relabel the commit 1 image that is in the registry as commit 3.
Steps to Replicate
Additional context
Page occured: