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:
89
89
# Attest the SBOM to the image\
90
90
cosign attest -y --predicate sbom.merged.json --type cyclonedx "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}@$$REPO_DIGEST_OF_IMAGE"
91
91
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
93
93
docker-manifest-list-build:
94
94
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"
95
95
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:
119
119
docker: docker-build docker-publish
120
120
121
121
print-docker-tag:
122
- @echo "${DOCKER_REPO }/${ORGANIZATION }/${OPERATOR_NAME}:${VERSION}"
122
+ @echo "${OCI_REGISTRY_HOSTNAME }/${OCI_REGISTRY_PROJECT_IMAGES }/${OPERATOR_NAME}:${VERSION}"
123
123
124
124
helm-publish:
125
125
# Push to Nexus
Original file line number Diff line number Diff line change 1
1
# If tilt_options.json exists read it and load the default_registry value from it
2
2
settings = 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' )
4
4
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"
6
6
default_registry (registry )
7
7
8
8
meta = read_json ('nix/meta.json' )
@@ -23,8 +23,8 @@ if os.path.exists('result'):
23
23
k8s_yaml ('result/crds.yaml' )
24
24
25
25
# 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)
28
28
k8s_kind ('Deployment' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
29
29
30
30
# Exclude stale CRDs from Helm chart, and apply the rest
Original file line number Diff line number Diff line change 40
40
} ;
41
41
}
42
42
, 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 } "
44
44
, dockerTag ? null
45
45
} :
46
46
rec {
You can’t perform that action at this time.
0 commit comments