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: