Skip to content

Commit

Permalink
update oc-login
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Mar 22, 2024
1 parent 50f1ffd commit b2a6368
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
name: CTHUB v0.2.0

on:
push:
branches: [ release-0.2.0 ]
# push:
# branches: [ release-0.2.0 ]
workflow_dispatch:
workflow_call:

Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:

## Log in to Openshift with a token of service account
- name: Log in to Openshift
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
Expand All @@ -65,7 +65,7 @@ jobs:
uses: actions/checkout@v3

- name: Log in to Openshift
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
Expand All @@ -92,7 +92,7 @@ jobs:
uses: actions/checkout@v3

- name: Log in to Openshift
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
uses: actions/checkout@v3

- name: Log in to Openshift
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: actions/[email protected]

- name: Log in to Openshift
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/[email protected]

- name: Log in to Openshift
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
Expand Down

0 comments on commit b2a6368

Please sign in to comment.