diff --git a/.github/workflows/build-dev.yaml b/.github/workflows/build-dev.yaml index b91e57906..1d99a3380 100644 --- a/.github/workflows/build-dev.yaml +++ b/.github/workflows/build-dev.yaml @@ -219,6 +219,11 @@ jobs: - name: Git Checkout uses: actions/checkout@v3 + - name: Install OpenShift CLI tools + uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4.14" + - name: Login OpenShift uses: redhat-actions/oc-login@v1 with: diff --git a/.github/workflows/deploy-alpha-test.yaml b/.github/workflows/deploy-alpha-test.yaml index 392ddd205..7faef28a6 100644 --- a/.github/workflows/deploy-alpha-test.yaml +++ b/.github/workflows/deploy-alpha-test.yaml @@ -12,6 +12,11 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - name: Install OpenShift CLI tools + uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4.14" + - name: Login OpenShift uses: redhat-actions/oc-login@v1 with: diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index f551ca22b..0351727ac 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -29,6 +29,11 @@ jobs: - name: Set env run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + + - name: Install OpenShift CLI tools + uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4.14" - name: Login OpenShift uses: redhat-actions/oc-login@v1 diff --git a/.github/workflows/deploy-test.yaml b/.github/workflows/deploy-test.yaml index 14e5ba788..0c1fd0f64 100644 --- a/.github/workflows/deploy-test.yaml +++ b/.github/workflows/deploy-test.yaml @@ -27,6 +27,11 @@ jobs: echo "::error::Git Tag not found, please double check input" exit 1 + - name: Install OpenShift CLI tools + uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4.14" + - name: Login OpenShift uses: redhat-actions/oc-login@v1 with: diff --git a/.github/workflows/on-tag-push.yaml b/.github/workflows/on-tag-push.yaml index 5aab4e07b..bd63e56f0 100644 --- a/.github/workflows/on-tag-push.yaml +++ b/.github/workflows/on-tag-push.yaml @@ -18,6 +18,11 @@ jobs: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Install OpenShift CLI tools + uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4.14" + - name: Login OpenShift uses: redhat-actions/oc-login@v1 with: diff --git a/.github/workflows/publish-gatsby.yaml b/.github/workflows/publish-gatsby.yaml index 466ff2380..991cb7bbb 100644 --- a/.github/workflows/publish-gatsby.yaml +++ b/.github/workflows/publish-gatsby.yaml @@ -136,6 +136,11 @@ jobs: docker push ${{ steps.vars.outputs.registry_image }}:${{ env.IMAGE_TAG }} working-directory: gatsby + - name: Install OpenShift CLI tools + uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4.14" + - name: Login OpenShift uses: redhat-actions/oc-login@v1 with: