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'