Skip to content

Commit 00f253a

Browse files
repo create
1 parent c783ac9 commit 00f253a

File tree

1 file changed

+3
-3
lines changed
  • app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm

1 file changed

+3
-3
lines changed

app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ OCI DevOps IAM Policies are not part of the stack, please refer to <a href="http
5656
<p>
5757
Important! Before running the stack it is manadatory to create the OCI Registry repository for the OCI Function container and upload a dummy X86 architecture container to it. The <b>name</b> of the OCIR repo needs to match to the <code>image_name</code> of the Stack variables e.g. <b>helloworldai-java</b>. The image tag must be '<b>1</b>'.
5858
<br>
59-
This can by done by doing the following in OCI Cloud Shell:
59+
This can by done by doing the following in OCI Cloud Shell (assuming the image name is 'helloworldai-java'):
6060
<pre>
6161
oci artifacts container repository create --display-name helloworldai-java --compartment-id ocid1.compartment.oc1.....gq
6262
docker pull hello-world
63-
docker tag hello-world fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/&lt;image_name&gt:1
63+
docker tag hello-world fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/helloworldai-java:1
6464
docker push fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/helloworldai-java:1
6565
</pre>
6666
Unless doing this the Stack will run into an error:
6767
<pre>
68-
Error: 400-InvalidParameter, Invalid Image fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/helloworldai-java:1 does not exist or you do not have access to use it
68+
Error: 400-InvalidParameter, Invalid Image fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/&lt;image_name&gt:1 does not exist or you do not have access to use it
6969
</pre>
7070
After doing this the Stack can be run and after the OCI DevOps project creation the build pipelines can be run to build and deploy the OCI Function.
7171

0 commit comments

Comments
 (0)