File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ docker-publish:
8989 # Attest the SBOM to the image\
9090 cosign attest -y --predicate sbom.merged.json --type cyclonedx "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}@$$REPO_DIGEST_OF_IMAGE"
9191
92- # This assumes "${DOCKER_REPO }/${ORGANIZATION }/${OPERATOR_NAME}:${VERSION}-amd64 and "${DOCKER_REPO }/${ORGANIZATION }/${OPERATOR_NAME}:${VERSION}-arm64 are build and pushed
92+ # This assumes "${OCI_REGISTRY_HOSTNAME }/${OCI_REGISTRY_PROJECT_IMAGES }/${OPERATOR_NAME}:${VERSION}-amd64 and "${OCI_REGISTRY_HOSTNAME }/${OCI_REGISTRY_PROJECT_IMAGES }/${OPERATOR_NAME}:${VERSION}-arm64 are built and pushed
9393docker-manifest-list-build:
9494 docker manifest create "${DOCKER_REPO}/${ORGANIZATION}/${OPERATOR_NAME}:${VERSION}" --amend "${DOCKER_REPO}/${ORGANIZATION}/${OPERATOR_NAME}:${VERSION}-amd64" --amend "${DOCKER_REPO}/${ORGANIZATION}/${OPERATOR_NAME}:${VERSION}-arm64"
9595 docker manifest create "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}:${VERSION}" --amend "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}:${VERSION}-amd64" --amend "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}:${VERSION}-arm64"
@@ -119,7 +119,7 @@ docker-manifest-list-publish:
119119docker: docker-build docker-publish
120120
121121print-docker-tag:
122- @echo "${DOCKER_REPO }/${ORGANIZATION }/${OPERATOR_NAME}:${VERSION}"
122+ @echo "${OCI_REGISTRY_HOSTNAME }/${OCI_REGISTRY_PROJECT_IMAGES }/${OPERATOR_NAME}:${VERSION}"
123123
124124helm-publish:
125125 # Push to Nexus
Original file line number Diff line number Diff line change 11# If tilt_options.json exists read it and load the default_registry value from it
22settings = read_json ('tilt_options.json' , default = {})
3- registry = settings .get ('default_registry' , 'docker .stackable.tech/sandbox' )
3+ registry = settings .get ('default_registry' , 'oci .stackable.tech/sandbox' )
44
5- # Configure default registry either read from config file above, or with default value of "docker .stackable.tech/sandbox"
5+ # Configure default registry either read from config file above, or with default value of "oci .stackable.tech/sandbox"
66default_registry (registry )
77
88meta = read_json ('nix/meta.json' )
@@ -23,8 +23,8 @@ if os.path.exists('result'):
2323 k8s_yaml ('result/crds.yaml' )
2424
2525# We need to set the correct image annotation on the operator Deployment to use e.g.
26- # docker .stackable.tech/sandbox/opa-operator:7y19m3d8clwxlv34v5q2x4p7v536s00g instead of
27- # docker .stackable.tech/sandbox/opa-operator:0.0.0-dev (which does not exist)
26+ # oci .stackable.tech/sandbox/opa-operator:7y19m3d8clwxlv34v5q2x4p7v536s00g instead of
27+ # oci .stackable.tech/sandbox/opa-operator:0.0.0-dev (which does not exist)
2828k8s_kind ('Deployment' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
2929
3030# Exclude stale CRDs from Helm chart, and apply the rest
Original file line number Diff line number Diff line change 4040 } ;
4141 }
4242, meta ? pkgs . lib . importJSON ./nix/meta.json
43- , dockerName ? "docker .stackable.tech/sandbox/${ meta . operator . name } "
43+ , dockerName ? "oci .stackable.tech/sandbox/${ meta . operator . name } "
4444, dockerTag ? null
4545} :
4646rec {
You can’t perform that action at this time.
0 commit comments