Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(docker): Update cache when a null tag becomes non-null #344
We currently don't update the docker image cache when either the prior or the current digest is null. This means that any tag that was present before trackDigests was enabled will always have its digest set to null. Change this so we do set the digest any time the new one is not null.
In order to avoid triggering multiple pipelines when turning trackDigests on, we won't send an event to echo when updating from a null to non-null digest (as we don't actually know if it was updated), we'll only update the cache.
Addresses the issue here: https://community.spinnaker.io/t/trigger-on-push-to-docker-registry/916