diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b2e1d64..7bb9534 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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