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: