From 59466cb59ef1677523458c57b4bfe7f3819182ce Mon Sep 17 00:00:00 2001 From: fullsend-code <278716306+fullsend-ai-coder[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 12:25:09 +0000 Subject: [PATCH] fix(#1774): update stale registry ref to conforma Update hack/update-infra-deployments.sh to use the conforma registry instead of the old enterprise-contract registry: - Change TASK_POLICY_REF from quay.io/enterprise-contract/ec-task-policy to quay.io/conforma/task-policy (dropping the ec- prefix per naming convention) - Update the sed match pattern to handle both old (ec-task-policy) and new (task-policy) image names in infra-deployments YAML files Closes #1774 --- hack/update-infra-deployments.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/update-infra-deployments.sh b/hack/update-infra-deployments.sh index d62ed431f..df5126b0f 100755 --- a/hack/update-infra-deployments.sh +++ b/hack/update-infra-deployments.sh @@ -27,7 +27,7 @@ set -o nounset TARGET_DIR="${1}" cd "${TARGET_DIR}" || exit 1 -TASK_POLICY_REF='quay.io/enterprise-contract/ec-task-policy:latest' +TASK_POLICY_REF='quay.io/conforma/task-policy:latest' function oci_source() { img="${1}" @@ -76,5 +76,5 @@ echo "Resolved task policy is ${TASK_POLICY_REF_OCI}" echo 'Updating infra-deployments...' # The "oci::" is not required by EC CLI. The expression below handles both cases. It's important to # note that this script will normalize the source references to always include the oci:: prefix. -update_ecp_resources '\b\(oci::\)\{0,1\}.*/ec-task-policy:.*$' "${TASK_POLICY_REF_OCI}" +update_ecp_resources '\b\(oci::\)\{0,1\}.*/\(ec-\)\{0,1\}task-policy:.*$' "${TASK_POLICY_REF_OCI}" echo 'infra-deployments updated successfully'