Files
k/.gitea/workflows/deploy-coredns.yaml
T
t.behrendt 9cf2056952
Deploy / deploy-docker-registry-secret (push) Has been cancelled
ci: switch to native path detection (#76)
Reviewed-on: #76
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-08-09 18:34:57 +02:00

27 lines
710 B
YAML

name: Deploy
on:
push:
branches:
- main
paths:
- 'coredns/**'
workflow_dispatch:
jobs:
deploy-coredns:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: azure/k8s-set-context@8698eba2499e9012f0d5085f8798077cce4bc526 # v5.0.1
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Deploy
run: |
kubectl apply -n kube-system -f coredns
- name: Restart coredns
run: |
kubectl -n kube-system rollout restart deployment coredns