Skip to content

Commit

Permalink
Merge pull request #22 from bcgov/feat/gh-action-change
Browse files Browse the repository at this point in the history
try to auto rollout pod
  • Loading branch information
hannah-macdonald1 authored Nov 5, 2024
2 parents 1857501 + f80968e commit 14ff47e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-push-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,9 @@ jobs:
--namespace ${{ secrets.OPENSHIFT_NAMESPACE }} \
--set image.repository=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} \
--set image.tag=${{ needs.build_and_push.outputs.image_tag }}
- name: Restart Pod after image update
run: |
oc rollout restart deployment \
--namespace ${{ secrets.OPENSHIFT_NAMESPACE }} \
--selector=app.kubernetes.io/name=vpi-app

0 comments on commit 14ff47e

Please sign in to comment.