From ceaf0f0ef6e38de2af1574f439ea6c5d742c1871 Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 30 Oct 2024 11:15:46 +0000 Subject: [PATCH] separate the runners --- .gitea/workflows/runner.yaml | 46 ------------------------------------ 1 file changed, 46 deletions(-) delete mode 100644 .gitea/workflows/runner.yaml diff --git a/.gitea/workflows/runner.yaml b/.gitea/workflows/runner.yaml deleted file mode 100644 index da9536a..0000000 --- a/.gitea/workflows/runner.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: - push: - branches: - - "*" - paths: - - 'dockerfile' - tags-ignore: - - '*' - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to gitea - uses: docker/login-action@v3 - with: - registry: gitea.tryton.geeraert.eu - username: ${{ secrets.USERNAME_GITEA }} - password: ${{ secrets.PASSWORD_GITEA }} - - - name: Build and push - uses: docker/build-push-action@v6 - with: - push: true - tags: gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest - - - - name: Perform kubectl tasks - uses: actions-hub/kubectl@master - env: - KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} - with: - args: apply -f . - - run: echo "🍏 This job's status is ${{ job.status }}."