diff --git a/.github/workflows/build-and-push-ghcr.yaml b/.github/workflows/build-and-push-ghcr.yaml index 86d9b2c..3447dfc 100644 --- a/.github/workflows/build-and-push-ghcr.yaml +++ b/.github/workflows/build-and-push-ghcr.yaml @@ -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