Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hack/update-infra-deployments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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'
Loading