Skip to content

Commit

Permalink
NOBUG: Fix openshift error (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumi-oxd authored Oct 15, 2024
1 parent 39165b4 commit 26dae69
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-alpha-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/on-tag-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-gatsby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 26dae69

Please sign in to comment.