From 9d5cb711f91ba89b7a9ca3446b03ddefda560318 Mon Sep 17 00:00:00 2001 From: ManishSihag Date: Wed, 18 Dec 2024 11:38:25 -0800 Subject: [PATCH] remove oc login dependency from GH actions --- .github/workflows/DEV-Api-V2-image-build.yml | 8 -------- .github/workflows/DEV-App-V2-image-build.yml | 9 +-------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/DEV-Api-V2-image-build.yml b/.github/workflows/DEV-Api-V2-image-build.yml index dc411bf568..b0e496195d 100644 --- a/.github/workflows/DEV-Api-V2-image-build.yml +++ b/.github/workflows/DEV-Api-V2-image-build.yml @@ -19,14 +19,6 @@ jobs: with: fetch-depth: 0 - # login to the Openshift Cluster - - name: Login to Openshift - uses: redhat-actions/oc-login@v1 - with: - openshift_server_url: ${{ secrets.OPENSHIFT_SERVER_URL }} - openshift_token: ${{ secrets.OPENSHIFT_SA_TOOLS_TOKEN }} - namespace: ${{ secrets.OPENSHIFT_TOOLS_NAMESPACE }} - # Login to BC Gov Docker Image Repository - name: Login to Openshift Docker run: | diff --git a/.github/workflows/DEV-App-V2-image-build.yml b/.github/workflows/DEV-App-V2-image-build.yml index dac861d300..edec644619 100644 --- a/.github/workflows/DEV-App-V2-image-build.yml +++ b/.github/workflows/DEV-App-V2-image-build.yml @@ -19,14 +19,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - # Login to the Openshift Cluster - - name: Login to Openshift - uses: redhat-actions/oc-login@v1 - with: - openshift_server_url: ${{ secrets.OPENSHIFT_SERVER_URL }} - openshift_token: ${{ secrets.OPENSHIFT_SA_TOOLS_TOKEN }} - namespace: ${{ secrets.OPENSHIFT_TOOLS_NAMESPACE }} + # Login to BC Gov Docker Image Repository - name: Login to Openshift Docker