Skip to content

Commit

Permalink
add OCI cli to github
Browse files Browse the repository at this point in the history
  • Loading branch information
randallard committed Dec 30, 2024
1 parent 6619465 commit 96d8909
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Install OCI CLI
run: |
curl -L -O https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh
chmod +x install.sh
./install.sh --accept-all-defaults
echo "/home/runner/bin" >> $GITHUB_PATH
- name: Configure OCI CLI
run: |
mkdir -p ~/.oci
echo "${{ secrets.OCI_CONFIG }}" > ~/.oci/config
echo "${{ secrets.OCI_PRIVATE_KEY }}" > ~/.oci/key.pem
chmod 600 ~/.oci/config ~/.oci/key.pem
- name: Install kubectl
uses: azure/setup-kubectl@v3

Expand Down

0 comments on commit 96d8909

Please sign in to comment.