Skip to content

Commit

Permalink
Use field manager when updating image from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chitoku-k committed Jan 26, 2025
1 parent 9a90906 commit 9e1ba7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
kubectl config use-context k8s.chitoku.jp
- name: Update image
run: |
kubectl set image deployment/chitokujp web=ghcr.io/chitoku-k/chitoku.jp:${{ github.ref_name }}
kubectl set image --field-manager=github-actions deployment/chitokujp web=ghcr.io/chitoku-k/chitoku.jp:${{ github.ref_name }}
- name: Purge cache
uses: jakejarvis/cloudflare-purge-action@v0.3.0
env:
Expand Down

0 comments on commit 9e1ba7d

Please sign in to comment.