Skip to content

Commit

Permalink
readme instructions added for OCIR Docker login with auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
mikarinneoracle committed Feb 15, 2025
1 parent 2580e4e commit d29396f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ Creating the stack in OCI Resource Manger fill in the vars:
<li><i>initial_image</i> that is used to create the OCI Function as target environment for the OCI DevOps deployment pipeline.
By default it is loaded from Dockerhub, but you can use any X86 arch image if want to replace this</li>
<li><i>docker_user</i> is your OCIR Docker user to push the initial image (above) to OCIR repo for the Function. Replace &lt;namespace&gt; with your <code>tenancy namespace</code>. <code>oracleidentitycloudservice</code> is only used for federated domains/users, not local</li>
<li><i>docker_password</i> is your OCIR Docker user password (your user profile auth token in OCI)</li>
<li><i>docker_password</i> is an <code>auth token</code> in your OCI user profile, <i>create one for this</i</li>
</ul>

Docker credentials are only used during the DevOps project creation to push the initial Function image and the DevOps project won't need them after it's been created by Terraform. <i>Hence, you can delete the auth token from your profile after the stack has been run.</i>
<p>

After creation run Stacks's Apply to create the OCI DevOps project.
<p>
The Stack creates only a <i>private subnet</i> in the VCN and hence the Function cannot be called outside the tenancy by default after the build and deploy.
Expand Down

0 comments on commit d29396f

Please sign in to comment.