Update k3s deployment to use latest tag and correct registry
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
816d699298
commit
fe67866018
2 changed files with 3 additions and 3 deletions
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue