Fix k3s deployment to use correct Docker image tag
The deployment was using raw SHA but the Docker metadata action creates
tags with 'main-' prefix for the main branch. Updated kubectl command
to use the correct tag format: main-${github.sha}
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
01cf1ee478
commit
816d699298
1 changed files with 1 additions and 1 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 }}:${{ github.sha }} -n aprs
|
||||
kubectl set image deployment/aprs aprs=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main-${{ github.sha }} -n aprs
|
||||
|
||||
- name: Wait for rollout
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue