Skip to content

Commit 28e56ba

Browse files
authored
Merge pull request #1575 from oracle-devrel/oci-devops-terraform-2
readme update
2 parents fa47f33 + 3e44a62 commit 28e56ba

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,18 @@ 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>
70-
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.
70+
After doing this the Stack can be run to create the OCI DevOps project. After the project creation the build pipelines can be run to build and deploy the OCI Function with real Function code.
7171

7272
# Useful Links
7373

0 commit comments

Comments
 (0)