Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmoini committed Feb 26, 2024
1 parent 96ba6ba commit c232389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
cd /opt/kenmoini.com/deploy/k3s
git pull || true
cp overlays/image-patch/kustomization.yml overlays/image-patch/kustomization.yml.bak
TAG=$(echo $GIT_SHA | head -c7) && sed -i 's|PATCH_ME|:'${TAG}'|' overlays/image-patch/kustomization.yml
TAG=$(echo $GIT_SHA | head -c7) && sed -i 's|PATCH_ME|'${TAG}'|' overlays/image-patch/kustomization.yml
export KUBECONFIG="/home/cicd/.kube/config"
kubectl apply -k overlays/image-patch
mv overlays/image-patch/kustomization.yml.bak overlays/image-patch/kustomization.yml
Expand Down

0 comments on commit c232389

Please sign in to comment.