From fe678660189342e063a6da389f35f1b9542310ab Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 24 Jul 2025 19:34:18 -0500 Subject: [PATCH] Update k3s deployment to use latest tag and correct registry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed kubectl deployment command to use :latest tag - Updated k8s deployment manifests to use ghcr.io/aprsme/aprs.me:latest - This ensures k3s always pulls the most recent image from GitHub Container Registry 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/deploy.yml | 2 +- k8s/app-deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3ab7a1d..cb5627a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,7 +64,7 @@ jobs: - name: Deploy to K3s run: | - kubectl set image deployment/aprs aprs=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main-${{ github.sha }} -n aprs + kubectl set image deployment/aprs aprs=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest -n aprs - name: Wait for rollout run: | diff --git a/k8s/app-deployment.yaml b/k8s/app-deployment.yaml index 48f7c97..945dab7 100644 --- a/k8s/app-deployment.yaml +++ b/k8s/app-deployment.yaml @@ -17,14 +17,14 @@ spec: spec: initContainers: - name: db-migrate - image: aprs/aprs-app:latest # Placeholder, will be set by CI + image: ghcr.io/aprsme/aprs.me:latest command: ["/app/bin/migrate"] envFrom: - secretRef: name: aprs-secrets containers: - name: aprs-app - image: aprs/aprs-app:latest # Placeholder, will be set by CI + image: ghcr.io/aprsme/aprs.me:latest ports: - containerPort: 4000 # Default Phoenix port envFrom: