Skip to content

Commit

Permalink
testing oc registry login
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Jan 9, 2024
1 parent 48187c9 commit 5da359e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ runs:
openshift_server_url: ${{ inputs.openshift_server_url }}
openshift_token: ${{ inputs.openshift_token }}

# - name: Login in to OpenShift container registry
# shell: bash
# run: |
# oc registry login
- name: Login in to OpenShift container registry
shell: bash
run: |
oc registry login
- name: Tag the image in the GHCR as ${{ inputs.environment }}
shell: bash
Expand All @@ -74,11 +74,11 @@ runs:
docker tag ${{ inputs.github_image_name }}@${{ inputs.image_digest }} ${{ inputs.openshift_image_name }}:${{ inputs.environment }}
docker push ${{ inputs.openshift_image_name }}:${{ inputs.environment }}
# - name: Trigger OpenShift rollout
# shell: bash
# run: |
# echo starting rollout in ${{ inputs.namespace }}
# oc -n ${{ inputs.namespace }} rollout status dc/${{ inputs.deployment_configuration }} --watch
- name: Trigger OpenShift rollout
shell: bash
run: |
echo starting rollout in ${{ inputs.namespace }}
oc -n ${{ inputs.namespace }} rollout status dc/${{ inputs.deployment_configuration }} --watch
# - name: Rocket.Chat Notification
# uses: RocketChat/[email protected]
Expand Down

0 comments on commit 5da359e

Please sign in to comment.