From beb40cf62555b704d82935c36306a6da5dabc5fa Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 24 Jul 2025 19:46:05 -0500 Subject: [PATCH] Add rollout restart to deployment workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Force k3s to pull the latest image by adding rollout restart after setting the image. This ensures the cluster always runs the most recent build even when using the :latest tag. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb5627a..1d25cec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -65,6 +65,8 @@ jobs: - name: Deploy to K3s run: | kubectl set image deployment/aprs aprs=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest -n aprs + # Force a rollout to ensure latest image is pulled + kubectl rollout restart deployment/aprs -n aprs - name: Wait for rollout run: |