From 3bfdf37436f13dfe0685096081c9adda18fdef2f Mon Sep 17 00:00:00 2001 From: Damir Mukimov Date: Wed, 24 Dec 2025 21:29:08 +0100 Subject: [PATCH] fix: Add Docker images to runner labels and fix frontend-lint condition --- .gitea/workflows/ci.yml | 2 +- k8s/gitea-runners/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9dd6a64..c116764 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,7 +18,7 @@ on: jobs: frontend-lint: runs-on: ubuntu-latest - if: github.event_name == 'pull_request' || contains(github.event.head_commit.modified, 'bugulma/frontend') || contains(github.event.head_commit.added, 'bugulma/frontend') + if: gitea.event_name == 'pull_request' || contains(gitea.event.head_commit.modified, 'bugulma/frontend') || contains(gitea.event.head_commit.added, 'bugulma/frontend') || (gitea.event_name == 'push' && gitea.ref == 'refs/heads/master') steps: - uses: actions/checkout@v4 - name: Setup Node.js diff --git a/k8s/gitea-runners/deployment.yaml b/k8s/gitea-runners/deployment.yaml index 235415e..bb5a146 100644 --- a/k8s/gitea-runners/deployment.yaml +++ b/k8s/gitea-runners/deployment.yaml @@ -41,7 +41,7 @@ spec: fieldRef: fieldPath: metadata.name - name: GITEA_RUNNER_LABELS - value: "ubuntu-latest,ubuntu-22.04,ubuntu-20.04" + value: "ubuntu-latest:docker://node:18-bullseye,ubuntu-22.04:docker://node:18-bullseye,ubuntu-20.04:docker://node:18-bullseye" - name: DOCKER_HOST value: "tcp://localhost:2375" volumeMounts: