Skip to content

Commit

Permalink
remove oc login dependency from GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ManishSihag committed Dec 18, 2024
1 parent 1932f6e commit 9d5cb71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/DEV-Api-V2-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/DEV-App-V2-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d5cb71

Please sign in to comment.