From 0563c924cdc3121ec8f0470f872f3a65b2611537 Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 23 Oct 2024 10:38:22 +0100 Subject: [PATCH] try another runner --- .gitea/workflows/runner.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/runner.yaml b/.gitea/workflows/runner.yaml index 651968b..8fdbb81 100644 --- a/.gitea/workflows/runner.yaml +++ b/.gitea/workflows/runner.yaml @@ -5,11 +5,6 @@ on: [push] jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest -# container: -# image: bitnami/kubectl:1.21 -# options: --cpus 1 -# env: -# KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" @@ -18,14 +13,12 @@ jobs: uses: actions/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." -# - run: kubectl get ns - - name: try github actions + - name: Perform kubectl tasks uses: actions-hub/kubectl@master env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} with: -# args: get pods - args: apply -f echo.kube.yaml + args: apply -k . - name: List files in the repository run: | ls ${{ gitea.workspace }}