Skip to content

Commit

Permalink
try to auto rollout pod
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-macdonald1 committed Nov 5, 2024
1 parent 1857501 commit f80968e
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 f80968e

Please sign in to comment.