diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 9b9807d..23b6cdf 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -23,4 +23,11 @@ jobs: with: method: kubeconfig kubeconfig: ${{ secrets.KUBE_CFG }} - id: setcontext + + - uses: azure/setup-kubectl@v4 + + - uses: Azure/k8s-deploy@v5 + with: + namespace: 'default' + manifests: | + test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..8229d0c --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,21 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: test + labels: + app: default + +spec: + replicas: 1 + selector: + matchLabels: + app: helloworld + template: + metadata: + labels: + app: helloworld + spec: + containers: + - name: helloworld + image: git.plop.in/test/test:latest