From ec205673e06c5874dfd62e6c2abb1287e8d0eadf Mon Sep 17 00:00:00 2001 From: brysonjbest <103070659+brysonjbest@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:29:32 -0800 Subject: [PATCH] Fix issue with openshift deploy. --- .github/workflows/build-and-deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 8730c51..a753ee5 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -58,6 +58,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install OpenShift CLI + run: | + curl -LO https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz + tar -xvf oc.tar.gz + sudo mv oc /usr/local/bin + - name: Authenticate and set context for OpenShift uses: redhat-actions/oc-login@v1